refactor: adjust button styling in DirectoryStaticRow for improved layout

This commit is contained in:
mlogclub
2026-06-02 15:42:12 +08:00
parent 853ae71b3d
commit b64f1a7858
@@ -322,7 +322,7 @@ function DirectoryStaticRow({ icon, label, selected, onClick }: DirectoryStaticR
<button <button
type="button" type="button"
className={cn( className={cn(
"flex w-full items-center gap-2 px-3 py-1.5 text-left text-sm hover:bg-accent", "flex w-full items-center gap-1 px-2 py-1.5 text-left text-sm hover:bg-accent",
selected && "bg-accent text-accent-foreground", selected && "bg-accent text-accent-foreground",
)} )}
onClick={onClick} onClick={onClick}