fix(webui): refine sidebar icon consistency and spacing

This commit is contained in:
chengyongru authored and chengyongru committed 2026-10-22 22:37:40 +08:00
1 parent 28d058bab5
commit 3dfcb5de5b
3 files changed
+5 -9

No files matched your search

+1 -1
View File
@@ -388,7 +388,7 @@ function SidebarActionButton({
collapsed
? "w-8 justify-center gap-0 px-0"
: iconOnly ? "w-8 shrink-0 justify-center gap-0 rounded-control px-0"
: "w-full justify-start gap-2 px-2 text-[13px] leading-5 [&_svg]:h-[18px] [&_svg]:w-[18px] [&_svg]:stroke-[1.75]",
: "w-full justify-start gap-2 px-2 text-[13px] leading-5 [&_svg]:h-4 [&_svg]:w-4 [&_svg]:stroke-[1.75]",
active
? "text-sidebar-accent-foreground"
: compact