mirror of
https://github.com/multica-ai/multica.git
synced 2026-07-28 05:46:58 +02:00
fix(sidebar): align search bar with nav items
Remove extra px-2 from search container and change button px-2.5 to px-2 so the search icon aligns at the same left offset as nav item icons.
This commit is contained in:
@@ -179,10 +179,10 @@ export function AppSidebar() {
|
||||
</DropdownMenu>
|
||||
</SidebarMenuItem>
|
||||
</SidebarMenu>
|
||||
<div className="flex items-center gap-1.5 px-2">
|
||||
<div className="flex items-center gap-1.5">
|
||||
<button
|
||||
type="button"
|
||||
className="flex h-8 flex-1 items-center gap-2 rounded-md border bg-background px-2.5 text-sm text-muted-foreground hover:bg-accent hover:text-accent-foreground transition-colors"
|
||||
className="flex h-8 flex-1 items-center gap-2 rounded-md border bg-background px-2 text-sm text-muted-foreground hover:bg-accent hover:text-accent-foreground transition-colors"
|
||||
onClick={() => useSearchStore.getState().setOpen(true)}
|
||||
>
|
||||
<Search className="size-3.5 shrink-0" />
|
||||
|
||||
Reference in New Issue
Block a user