Commit 39cb69c
doc: style fixes for the TOC
- Hide the scrollbar on the TOC on all browsers. It was never the
intention for it to be visible with the scroll indication in place.
A wrapper element with 20px padding was added to accommodate for
hopefully all scrollbar widths as well as to avoid overflowing
content.
- Fixed the scroll indication gradient on Safari, which was caused by
the wrong from-color, which now matches the to-color.
- Fixed a issue in old IE where the TOC didn't render on the correct
position through setting `left: 0` and `top: 0` on it.
PR-URL: #4748
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent be82745 commit 39cb69cCopy full SHA for 39cb69c
File tree
Expand file treeCollapse file tree
2 files changed
+18
-7
lines changedOpen diff view settings
Filter options
- doc
- api_assets
Expand file treeCollapse file tree
2 files changed
+18
-7
lines changedOpen diff view settings
Collapse file
+11-2Lines changed: 11 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
370 | 370 | |
371 | 371 | |
372 | 372 | |
| 373 | + |
| 374 | + |
373 | 375 | |
| 376 | + |
| 377 | + |
| 378 | + |
| 379 | + |
374 | 380 | |
| 381 | + |
| 382 | + |
| 383 | + |
375 | 384 | |
376 | 385 | |
377 | | - |
| 386 | + |
378 | 387 | |
379 | 388 | |
380 | 389 | |
381 | 390 | |
382 | 391 | |
383 | 392 | |
384 | | - |
| 393 | + |
385 | 394 | |
386 | 395 | |
387 | 396 | |
|
Collapse file
+7-5Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
11 | 11 | |
12 | 12 | |
13 | 13 | |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
18 | 21 | |
19 | | - |
20 | 22 | |
21 | 23 | |
22 | 24 | |
|
0 commit comments