File tree Expand file tree Collapse file tree
packages/studio/src/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -446,8 +446,7 @@ export function StudioRightPanel({
446446
447447 return (
448448 < >
449- { /* Vertical resize divider: 3px visible seam, 13px pointer-capture zone via
450- the absolutely-positioned inner hit area. */ }
449+ { /* Vertical resize divider: 3px visible seam, 13px hit zone via the inner div. */ }
451450 < div
452451 role = "separator"
453452 aria-label = "Resize inspector panel"
@@ -467,11 +466,9 @@ export function StudioRightPanel({
467466 adjustPanelWidth ( "right" , delta ) ;
468467 } }
469468 >
470- { /* Expanded hit zone, deliberately asymmetric: 8px into the preview pane's
471- p-2 stage gutter (the only dead space here), the 3px seam, then 2px
472- into the inspector card. It stops at 13px rather than the 24px WCAG 2.2
473- (2.5.8) target because the next pixel on either side is live: the
474- preview stage on the left, the inspector's own controls on the right. */ }
469+ { /* Asymmetric hit zone: 8px into the preview's p-2 gutter (the only dead
470+ space), the 3px seam, 2px into the card. Stops short of the 24px WCAG
471+ 2.5.8 target because the next pixel each way is live. */ }
475472 < div className = "absolute inset-y-0 -left-[8px] w-[13px]" />
476473 { /* Visible hairline */ }
477474 < div className = "absolute top-1/2 left-0 h-[52px] w-[3px] -translate-y-1/2 bg-white/12 transition-colors group-hover:bg-white/18 group-active:bg-white/24" />
You can’t perform that action at this time.
0 commit comments