fix: add cursor-pointer to sidebar expand/collapse buttons (#1511)

The sidebar expand and collapse toggle buttons were missing the
cursor-pointer style, so hovering didn't show a pointer cursor.

Co-authored-by: Brendan Whiting <16016903+bwhiting2356@users.noreply.github.com>
Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
This commit is contained in:
Brendan Whiting 2026-06-12 09:49:26 -07:00 • committed by GitHub
parent 639058a8b6
commit 9259a52b2f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -75,7 +75,7 @@ export function SidebarFrame({
type="button"
aria-label="Expand sidebar"
onClick={toggle}
className="fixed top-3 left-3 z-30 flex size-7 items-center justify-center rounded-md border border-border bg-background text-muted-foreground shadow-sm hover:bg-accent hover:text-foreground"
className="fixed top-3 left-3 z-30 flex size-7 cursor-pointer items-center justify-center rounded-md border border-border bg-background text-muted-foreground shadow-sm hover:bg-accent hover:text-foreground"
>
<SidebarSimpleIcon className="size-4" />
</button>
@ -164,7 +164,7 @@ export function SidebarCollapseButton({ onToggle, className }: SidebarCollapseBu
aria-label="Collapse sidebar"
onClick={onToggle}
className={cn(
"flex size-6 shrink-0 items-center justify-center rounded text-muted-foreground hover:bg-accent hover:text-foreground",
"flex size-6 shrink-0 cursor-pointer items-center justify-center rounded text-muted-foreground hover:bg-accent hover:text-foreground",
className,
)}
>