Skip to content

Commit

Permalink
next: tweaked filter badge sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
niemyjski committed Feb 21, 2025
1 parent da20a9c commit 6869fe3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
</script>

<Badge class="rounded-sm px-1 font-normal lg:hidden" variant="secondary">
<span class="max-w-24 truncate">{@render children()}</span>
<span class="max-w-24 truncate md:max-w-48">{@render children()}</span>
</Badge>
<div class="hidden space-x-1 lg:flex">
<Badge class="rounded-sm px-1 font-normal" variant="secondary">
<span class="max-w-60 truncate">{@render children()}</span>
<span class="md:max-w-120 max-w-60 truncate">{@render children()}</span>
</Badge>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{:else}
{#each values as value (value)}
<Badge class="rounded-sm px-1 font-normal" variant="secondary">
<span class="max-w-14 truncate">{@render displayValue(value)}</span>
<span class="max-w-24 truncate md:max-w-48">{@render displayValue(value)}</span>
</Badge>
{/each}
{/if}
Expand Down

0 comments on commit 6869fe3

Please sign in to comment.