Repository navigation
Commit e941001
committed
[ZEPPELIN-6629] Tie navbar height values to a single CSS variable
Address review feedback on #5407: scroll-padding-top and the navbar's
height both hardcoded the same 60px value, which is exactly what let
them drift apart and caused the anchor-link bug in the first place.
Introduce --navbar-height and have both declarations, plus the
collapse panel's max-height which derives from the same value, read
from it instead.1 parent e8d8db9 commit e941001
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
5 | 9 | | |
6 | 10 | | |
7 | 11 | | |
| |||
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
15 | | - | |
| 19 | + | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
| |||
90 | 94 | | |
91 | 95 | | |
92 | 96 | | |
93 | | - | |
| 97 | + | |
94 | 98 | | |
95 | 99 | | |
96 | 100 | | |
| |||
552 | 556 | | |
553 | 557 | | |
554 | 558 | | |
555 | | - | |
| 559 | + | |
556 | 560 | | |
557 | 561 | | |
558 | 562 | | |
| |||
0 commit comments