mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-09-30 16:13:15 +00:00
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:
parent
639058a8b6
commit
9259a52b2f
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
)}
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue