From 1fde2f805ac8bc049bdff5f3d4424a05e3e07031 Mon Sep 17 00:00:00 2001 From: iliya Date: Mon, 23 Feb 2026 11:38:53 +0200 Subject: [PATCH] style: adjust padding in Combobox component for improved UI consistency - Updated padding classes in the Combobox component to enhance spacing and alignment. - Adjusted the `CommandPrimitive.List` and option item styles for better visual consistency. These changes aim to improve the overall user experience by refining the layout of the Combobox component. --- src/renderer/components/ui/combobox.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/components/ui/combobox.tsx b/src/renderer/components/ui/combobox.tsx index ceef2029..326ee245 100644 --- a/src/renderer/components/ui/combobox.tsx +++ b/src/renderer/components/ui/combobox.tsx @@ -84,7 +84,7 @@ export const Combobox = ({ e.stopPropagation()} > @@ -111,7 +111,7 @@ export const Combobox = ({ setOpen(false); setSearch(''); }} - className="relative flex w-full cursor-default select-none items-center rounded-sm px-2 py-1.5 text-xs outline-none data-[selected=true]:bg-[var(--color-surface-raised)] data-[selected=true]:text-[var(--color-text)]" + className="relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-0 pr-2 text-xs outline-none data-[selected=true]:bg-[var(--color-surface-raised)] data-[selected=true]:text-[var(--color-text)]" > {renderOption ? ( renderOption(option, isSelected, search)