diff --git a/static/css/main.css b/static/css/main.css index 40e59ee..fc47fd1 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -33,6 +33,10 @@ html { --virtual-space-ratio: 1.75; height: calc(100% * var(--virtual-space-ratio)); + + /* Leave a bunch of space at the top when scrolling to elements. + I'm honestly not sure why this is needed on <html> and not the scrolled-to element... */ + scroll-padding-top: 10vh; } body {