Skip to content

Commit

Permalink
refactor: show overflow on type tags
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviareichl committed Oct 10, 2024
1 parent 7a6c035 commit 46a6440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/types-popover.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const currentMode = computed(() => {
<Popover>
<PopoverTrigger>
<Button variant="outline" class="max-w-48">
<span class="overflow-hidden text-ellipsis">
<span>
{{ type.label }}
<span v-if="type.value && type.unit" class="ml-1 text-muted-foreground">
{{ type.value }} <span> {{ type.unit }}</span>
Expand Down

0 comments on commit 46a6440

Please sign in to comment.