Skip to content
This repository was archived by the owner on Aug 6, 2026. It is now read-only.

Commit 704b76e

Browse files
authored
style(ui): drop the expanded fill on the All spaces header
quill's default button paints --fill-expanded while aria-expanded, which read as a permanent highlight on a section that's open most of the time. The rotated caret already says open; hover feedback stays. Generated-By: PostHog Code Task-Id: 0331ac58-0a1c-4b4e-b884-2ff7d8e71986
1 parent 30a35d6 commit 704b76e

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎packages/ui/src/features/canvas/components/AllSpacesSection.tsx‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,16 @@ export function AllSpacesSection() {
7979
return (
8080
<div className="shrink-0 border-border border-t">
8181
<div className="flex flex-col gap-px px-2 pt-1 pb-2">
82-
{/* Same shape as a pinned space row, so the carets line up. */}
82+
{/* Same shape as a pinned space row, so the carets line up. The
83+
directory stays open most of the time, so quill's expanded fill
84+
would read as a permanent highlight — the rotated caret already
85+
says "open"; hover feedback stays. */}
8386
<Button
8487
variant="default"
8588
left
8689
aria-expanded={open}
8790
onClick={toggle}
88-
className="w-full gap-1.5 text-left"
91+
className="w-full gap-1.5 text-left aria-expanded:bg-transparent! aria-expanded:hover:bg-fill-hover!"
8992
>
9093
<CaretRightIcon
9194
size={12}

0 commit comments

Comments
 (0)