Commit 5b7929a
committed
fix(nav): show floating nav whenever scrolled past hero
Previous logic required scrolling UP past 80px to reveal the nav,
which felt delayed. Show as soon as the user scrolls past the
threshold in either direction.1 parent ddb2b27 commit 5b7929a
1 file changed
Lines changed: 1 addition & 8 deletions
File tree
- components/site
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 28 | + | |
36 | 29 | | |
37 | 30 | | |
38 | 31 | | |
| |||
0 commit comments