Compare commits
1 commit
06ff6d32e8
...
8c52de0616
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8c52de0616 |
|
|
@ -51,7 +51,7 @@ function NewSection({
|
|||
after?: ReactElement;
|
||||
}) {
|
||||
return (<section id={id} className="bg-background">
|
||||
<div className="container mx-auto px-4 gap-6 flex flex-col">
|
||||
<div className="container mx-auto px-4 gap-6 flex flex-col mt-20">
|
||||
{children}
|
||||
{after}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -160,8 +160,3 @@
|
|||
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