Commit ca82d8a
committed
fix(theme/nav): Fixed small layout shift on scroll
When scrolling: as the nav bar transitions to having a bottom border and
a blurred background, the layout of the icons would shift up slightly
due to the bottom border size changing. To fix this I've made it so that
the bottom border is always 1px but is transparent by default. This
prevents the layout shift when scrolling.1 parent ddd2a6c commit ca82d8a
File tree
1 file changed
+2
-1
lines changed- packages/core/src/theme/components/HomeBackground
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
0 commit comments