From a82964545c086f28175986b9439118dff0e05657 Mon Sep 17 00:00:00 2001 From: Ronan Berder Date: Sat, 26 Apr 2025 12:05:08 +0800 Subject: [PATCH] Fix combobox icon --- dist/basecoat.css | 6 ++++++ dist/basecoat.tailwind.css | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/dist/basecoat.css b/dist/basecoat.css index c47b0e6..c06fe96 100644 --- a/dist/basecoat.css +++ b/dist/basecoat.css @@ -2838,6 +2838,12 @@ border-bottom-style: var(--tw-border-style); border-bottom-width: 1px; padding-inline: calc(var(--spacing) * 3); + svg { + width: calc(var(--spacing) * 4); + height: calc(var(--spacing) * 4); + flex-shrink: 0; + opacity: 50%; + } input[role='combobox'] { display: flex; height: calc(var(--spacing) * 10); diff --git a/dist/basecoat.tailwind.css b/dist/basecoat.tailwind.css index c80f9e6..862d479 100644 --- a/dist/basecoat.tailwind.css +++ b/dist/basecoat.tailwind.css @@ -656,7 +656,9 @@ > header { @apply flex h-9 items-center gap-2 border-b px-3 -mx-1 -mt-1 mb-1; - + svg { + @apply size-4 shrink-0 opacity-50; + } input[role='combobox'] { @apply placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50; }