Skip to content

Commit a6898f0

Browse files
t3dotggclaude
andcommitted
fix(web): make sidebar v2 settle button clickable on hover
The card row's status label swaps to absolute + opacity-0 on hover, which painted it above the in-flow settle/snooze buttons and swallowed their clicks. Add pointer-events-none so the invisible label can't intercept. Co-Authored-By: Claude Fable 5 <[email protected]>
1 parent 35a6840 commit a6898f0

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎apps/web/src/components/SidebarV2.tsx‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -932,9 +932,12 @@ const SidebarV2Row = memo(function SidebarV2Row(props: {
932932
the hidden state out of flow lets the project label reclaim
933933
space without either state overlapping it. */}
934934
<span className="group/v2-status-slot relative ml-auto flex h-5 min-w-8 shrink-0 items-stretch justify-end text-xs">
935+
{/* pointer-events-none: while hovered this label is absolute
936+
+ opacity-0, which paints it ABOVE the in-flow settle/snooze
937+
buttons; without it the invisible label eats their clicks. */}
935938
<span
936939
className={cn(
937-
"self-center justify-self-end tabular-nums text-muted-foreground/65 transition-opacity group-focus-within/v2-status-slot:absolute group-focus-within/v2-status-slot:right-0 group-hover/v2-row:absolute group-hover/v2-row:right-0 group-hover/v2-row:opacity-0",
940+
"pointer-events-none self-center justify-self-end tabular-nums text-muted-foreground/65 transition-opacity group-focus-within/v2-status-slot:absolute group-focus-within/v2-status-slot:right-0 group-hover/v2-row:absolute group-hover/v2-row:right-0 group-hover/v2-row:opacity-0",
938941
snoozeMenuOpen && "absolute right-0 opacity-0",
939942
)}
940943
>

0 commit comments

Comments
 (0)