Skip to content

Commit 6739ebd

Browse files
committed
fix(toc): align active heading strip with sidebar rail
The active indicator sat off the visual gutter and used rounding that did not match the list. Square the strip and shift it to match the rail so the focused row reads clearly without fighting the layout. Made-with: Cursor
1 parent bcc7a23 commit 6739ebd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/webapp/src/styles/components/_tableOfContents.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
content: '';
1010
position: absolute;
1111
top: 0;
12-
left: 0.5px;
12+
left: -8px;
1313
width: 4px;
1414
height: 100%;
1515
background-color: var(--color-docsy);
@@ -137,12 +137,12 @@
137137
left: -8px;
138138
top: 0;
139139
bottom: 0;
140-
width: 3px;
140+
width: 4px;
141141
background-color: var(--color-docsy);
142142
border-radius: 0;
143143
pointer-events: none;
144144
transition: left 0.2s ease-in-out;
145-
border-radius: 10px;
145+
border-radius: 4px;
146146
}
147147

148148
&:hover::before {

0 commit comments

Comments
 (0)