formatted

This commit is contained in:
liyunze 2026-09-02 11:21:42 +08:00
parent a4a3d568df
commit 44c6275ee8
2 changed files with 3 additions and 3 deletions

View file

@ -83,7 +83,7 @@
</svg> </svg>
{/snippet} {/snippet}
<div class="flex items-center gap-x-1 gap-y-2 overflow-x-scroll scrollbar-thin pb-2"> <div class="flex scrollbar-thin items-center gap-x-1 gap-y-2 overflow-x-scroll pb-2">
<button <button
type="button" type="button"
class="chip {selectedUnitId === '' ? 'chip-active' : ''}" class="chip {selectedUnitId === '' ? 'chip-active' : ''}"

View file

@ -105,7 +105,7 @@ button {
} }
.chip { .chip {
@apply border-rule whitespace-nowrap text-ink hover:border-ink bg-surface inline-flex items-center rounded-sm border px-3 py-1.5 font-sans text-[11px] font-medium tracking-[0.12em] uppercase transition-colors; @apply border-rule text-ink hover:border-ink bg-surface inline-flex items-center rounded-sm border px-3 py-1.5 font-sans text-[11px] font-medium tracking-[0.12em] whitespace-nowrap uppercase transition-colors;
} }
.chip-active { .chip-active {
@ -133,7 +133,7 @@ button {
} }
.unit-rail { .unit-rail {
@apply flex gap-3 overflow-x-scroll py-1 scrollbar-thin pb-2; @apply flex scrollbar-thin gap-3 overflow-x-scroll py-1 pb-2;
} }
.unit-rail::-webkit-scrollbar { .unit-rail::-webkit-scrollbar {