The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 11:00 UTC
fix(web): sidebar edge uses the same resize cursor as side panels (#33083)
Co-authored-by: maria-rcks <maria@kuuro.net> Co-authored-by: Julius Marminge <julius0216@outlook.com>
Tenyoru committed
Nov 15, 2026 at 06:42 UTC
86cdf80dbd51b05e1606e7df39eed231501f86a8
1 file changed
+4
-2
apps/web/src/components/ui/sidebar.tsx
+4
-2
@@ -579,8 +579,10 @@ function SidebarRail({
579
/* A collapsed offcanvas rail overlaps the native scrollbar on Windows and Linux. */
580
"-translate-x-1/2 group-data-[side=left]:-right-4 absolute inset-y-0 z-20 hidden w-4 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border group-data-[side=right]:left-0 sm:flex [[data-collapsible=offcanvas][data-state=collapsed]_&]:pointer-events-none",
581
"[[data-panel-animations=true]_&]:transition-all [[data-panel-animations=true]_&]:[transition-duration:var(--panel-animation-duration)] [[data-panel-animations=true]_&]:ease-out",
582
- "touch-none in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
583
- "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
582
+ "touch-none",
583
+ canResize
584
+ ? "cursor-col-resize"
585
+ : "in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize [[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
586
"group-data-[collapsible=offcanvas]:translate-x-0 hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:after:left-full",
587
"[[data-side=left][data-collapsible=offcanvas]_&]:-right-2",
588
"[[data-side=right][data-collapsible=offcanvas]_&]:-left-2",