Commit 770b1b3
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 8b4da0f commit 770b1b3
1 file changed
Lines changed: 4 additions & 5 deletions
| 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