Skip to content

Commit e695574

Browse files
Refine thread archive confirm pill shape
- Change the archive confirm control from fully rounded to rounded-md - Keep the existing destructive hover and focus styling
1 parent b65f255 commit e695574

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP
637637
data-thread-selection-safe
638638
data-testid={`thread-archive-confirm-${thread.id}`}
639639
aria-label={`Confirm archive ${thread.title}`}
640-
className="absolute top-1/2 right-1 inline-flex h-5 -translate-y-1/2 cursor-pointer items-center rounded-full bg-destructive/12 px-2 text-[10px] font-medium text-destructive transition-colors hover:bg-destructive/18 focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-destructive/40"
640+
className="absolute top-1/2 right-1 inline-flex h-5 -translate-y-1/2 cursor-pointer items-center rounded-md bg-destructive/12 px-2 text-[10px] font-medium text-destructive transition-colors hover:bg-destructive/18 focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-destructive/40"
641641
onPointerDown={stopPropagationOnPointerDown}
642642
onClick={handleConfirmArchiveClick}
643643
>

0 commit comments

Comments
 (0)