@@ -2212,7 +2212,7 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP |
2212 | 2212 | onPointerDown={handleActionPointerDown} |
2213 | 2213 | className={cn( |
2214 | 2214 | "pointer-events-none absolute inset-y-0 right-0 -mr-1 inline-flex cursor-pointer items-center gap-1 rounded-md bg-transparent px-1.5 text-xs text-muted-foreground opacity-0 transition-opacity hover:text-foreground focus-visible:pointer-events-auto focus-visible:opacity-100 group-any-hover/sidebar-row:pointer-events-auto group-any-hover/sidebar-row:opacity-100", |
2215 | | - isWoke && "group-any-hover/sidebar-row:static", |
| 2215 | + isWoke && "static", |
2216 | 2216 | )} |
2217 | 2217 | > |
2218 | 2218 | <AlarmClockOffIcon className="mb-px size-3" /> |
@@ -2229,7 +2229,7 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP |
2229 | 2229 | onPointerDown={handleActionPointerDown} |
2230 | 2230 | className={cn( |
2231 | 2231 | "pointer-events-none absolute inset-y-0 right-0 -mr-1 inline-flex cursor-pointer items-center gap-1 rounded-md bg-transparent px-1.5 text-xs text-muted-foreground opacity-0 transition-opacity hover:text-foreground focus-visible:pointer-events-auto focus-visible:opacity-100 group-any-hover/sidebar-row:pointer-events-auto group-any-hover/sidebar-row:opacity-100", |
2232 | | - isWoke && "group-any-hover/sidebar-row:static", |
| 2232 | + isWoke && "static", |
2233 | 2233 | )} |
2234 | 2234 | /> |
2235 | 2235 | } |
@@ -2246,7 +2246,7 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP |
2246 | 2246 | onPointerDown={handleActionPointerDown} |
2247 | 2247 | className={cn( |
2248 | 2248 | "pointer-events-none absolute inset-y-0 right-0 inline-flex cursor-pointer items-center gap-1 rounded-md bg-transparent px-2 text-xs text-muted-foreground opacity-0 transition-opacity hover:text-foreground focus-visible:pointer-events-auto focus-visible:opacity-100 group-any-hover/sidebar-row:pointer-events-auto group-any-hover/sidebar-row:opacity-100", |
2249 | | - isWoke && "group-any-hover/sidebar-row:static", |
| 2249 | + isWoke && "static", |
2250 | 2250 | )} |
2251 | 2251 | > |
2252 | 2252 | <CheckIcon className="size-3" /> |
@@ -2314,22 +2314,23 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP |
2314 | 2314 | <span className="flex-1" /> |
2315 | 2315 | )} |
2316 | 2316 | {pinIndicator} |
| 2317 | + {/* Reserve both states' widths so revealing actions cannot move the pin or Woke label. */} |
2317 | 2318 | {sortable?.isDragging ? ( |
2318 | 2319 | dragDestination |
2319 | 2320 | ) : ( |
2320 | 2321 | <span |
2321 | 2322 | className={cn( |
2322 | | - "group/sidebar-status-slot relative ml-auto flex h-5 min-w-8 shrink-0 items-stretch justify-end text-xs", |
| 2323 | + "group/sidebar-status-slot ml-auto grid h-5 min-w-8 shrink-0 items-stretch justify-end text-xs", |
2323 | 2324 | props.sweepAction !== null && "hidden", |
2324 | 2325 | )} |
2325 | 2326 | > |
2326 | 2327 | <span |
2327 | 2328 | className={cn( |
2328 | 2329 | isWokeStatus |
2329 | 2330 | ? "pointer-events-auto" |
2330 | | - : "pointer-events-none group-has-[:focus-visible]/sidebar-status-slot:absolute group-has-[:focus-visible]/sidebar-status-slot:right-0 group-has-[:focus-visible]/sidebar-status-slot:opacity-0 group-any-hover/sidebar-row:absolute group-any-hover/sidebar-row:right-0 group-any-hover/sidebar-row:opacity-0", |
2331 | | - "flex items-center self-center justify-self-end tabular-nums text-secondary-label transition-opacity", |
2332 | | - snoozeMenuOpen && "pointer-events-none absolute right-0 opacity-0", |
| 2331 | + : "pointer-events-none group-has-[:focus-visible]/sidebar-status-slot:opacity-0 group-any-hover/sidebar-row:opacity-0", |
| 2332 | + "flex items-center self-center justify-self-end tabular-nums text-secondary-label transition-opacity [grid-area:1/1]", |
| 2333 | + snoozeMenuOpen && "pointer-events-none opacity-0", |
2333 | 2334 | )} |
2334 | 2335 | > |
2335 | 2336 | {topStatus ? ( |
@@ -2400,8 +2401,9 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP |
2400 | 2401 | // would keep the controls pinned over the status label |
2401 | 2402 | // once the pointer moves away (e.g. after a failed |
2402 | 2403 | // settle) instead of cross-fading back. |
2403 | | - "pointer-events-none absolute inset-y-0 right-0 flex items-stretch opacity-0 transition-opacity has-[:focus-visible]:pointer-events-auto has-[:focus-visible]:static has-[:focus-visible]:opacity-100 group-any-hover/sidebar-row:pointer-events-auto group-any-hover/sidebar-row:static group-any-hover/sidebar-row:opacity-100", |
2404 | | - snoozeMenuOpen && "pointer-events-auto static opacity-100", |
| 2404 | + "pointer-events-none flex items-stretch justify-self-end opacity-0 transition-opacity has-[:focus-visible]:pointer-events-auto has-[:focus-visible]:opacity-100 group-any-hover/sidebar-row:pointer-events-auto group-any-hover/sidebar-row:opacity-100", |
| 2405 | + isWokeStatus ? "[grid-area:1/2]" : "[grid-area:1/1]", |
| 2406 | + snoozeMenuOpen && "pointer-events-auto opacity-100", |
2405 | 2407 | )} |
2406 | 2408 | > |
2407 | 2409 | {hasUnsentDraft ? ( |
|