Skip to content

Commit

Permalink
truncate header subtitle text if too long
Browse files Browse the repository at this point in the history
  • Loading branch information
liamcottle committed Nov 22, 2024
1 parent fd7155c commit c91a754
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<div class="my-auto mr-2">
<img src="/icon.png" class="size-12 rounded"/>
</div>
<div class="my-auto mr-auto">
<div class="my-auto mr-auto overflow-hidden">
<div class="font-bold">MeshTXT</div>
<div class="text-sm">
<div class="text-sm truncate">

<!-- disconnected -->
<span v-if="GlobalState.deviceStatus == null || GlobalState.deviceStatus === Types.DeviceStatusEnum.DeviceDisconnected">
Expand Down

0 comments on commit c91a754

Please sign in to comment.