History

Set default cursor on sidebar session rows

- Add `cursor-default` to sidebar row classes in `Sidebar.tsx` - Keeps list items from showing a pointer cursor while preserving hover/active styles

Julius Marminge committed 8 months ago

Commit 2c710101 parent 9f068351 file · +1 −1Browse files

Unified · Split

apps/web/src/components/Sidebar.tsx+1−1
@@ -819,7 +819,7 @@ export default function Sidebar() { · 818 unmodified lines
819819 render={<div role="button" tabIndex={0} />}
820820 size="sm"
821821 isActive={isActive}
822− className={`h-7 w-full translate-x-0 justify-start px-2 text-left hover:bg-accent hover:text-foreground ${
822+ className={`h-7 w-full translate-x-0 cursor-default justify-start px-2 text-left hover:bg-accent hover:text-foreground ${
823823 isActive
824824 ? "bg-accent/85 text-foreground font-medium ring-1 ring-border/70 dark:bg-accent/55 dark:ring-border/50"
825825 : "text-muted-foreground"