Commit 3f89a46
committed
fix: make TOC gradient sticky to viewport bottom
Use position: sticky instead of absolute so the gradient stays fixed
at the bottom of the visible scroll area as the user scrolls, rather
than staying pinned to the bottom of the scrollable content.
Addresses review feedback from illicitonion.1 parent 5d92ca1 commit 3f89a46
1 file changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
17 | | - | |
| 15 | + | |
18 | 16 | | |
19 | | - | |
20 | | - | |
| 17 | + | |
21 | 18 | | |
| 19 | + | |
22 | 20 | | |
23 | 21 | | |
| 22 | + | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
0 commit comments