[GRASS-git] [OSGeo/grass-website] 4bfea3: style: Offset anchor jumps so headings are not hid...
Vaclav Petras
noreply at github.com
Thu Apr 30 11:51:46 PDT 2026
Branch: refs/heads/master
Home: https://github.com/OSGeo/grass-website
Commit: 4bfea368529234e39e2eb1517a6da4f8f0d0c28f
https://github.com/OSGeo/grass-website/commit/4bfea368529234e39e2eb1517a6da4f8f0d0c28f
Author: Vaclav Petras <wenzeslaus at gmail.com>
Date: 2026-04-30 (Thu, 30 Apr 2026)
Changed paths:
M themes/grass/assets/css/style.css
Log Message:
-----------
style: Offset anchor jumps so headings are not hidden by the top bar (#622)
Without scroll-padding-top, anchor links to headings landed under the .fixed-top banner+navbar and the heading was hidden. Set it on <html>, sized to match the existing .mt-95 measurement, with a small gap so the heading isn't flush against the bar. Add a mobile override for the collapsed navbar.
The numbers are duplicative with .mt-95, but co-locating them in the file is the lightest fix. The issue is visible online. I tested locally.
To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass-website/settings/notifications
More information about the grass-commit
mailing list