This commit is contained in:
parent
79feb340cd
commit
133c82790e
|
|
@ -156,12 +156,7 @@
|
|||
z-index: 10000;
|
||||
}
|
||||
|
||||
/* Allow to scroll past the last section, needed for fragment-directed navigation. */
|
||||
section#contact {
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
/* Fix scrolling to section by fragment, making sure it shows in the right spot and not behind the navbar. */
|
||||
section {
|
||||
scroll-margin-top: calc(var(--spacing) * 16 + var(--spacing) * 4);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue