Skip to content

Commit

Permalink
feat: icons for message formats
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio286 committed Apr 18, 2023
1 parent 3f1ea87 commit ec320c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/renderer/components/ClientTabMessages.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,11 @@
@change="updateMessages"
>
<div class="checkbox-block" />
<span class="format">({{ message.format }})</span>
<span
class="mdi"
:class="[message.format === 'hex' ? 'mdi-hexadecimal' : 'mdi-format-text']"
:title="message.format"
/>
<span>{{ truncate(message.name, 25, '...') }}</span>
</label>
<i
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ label {
}

#messageBox .format {
font-family: "Roboto Mono";
font-family: "Roboto Mono", "Courier New", monospace;
font-size: 10px;
}

Expand Down

0 comments on commit ec320c7

Please sign in to comment.