From be03ca1b21657880692111abcf042eb9700fd08b Mon Sep 17 00:00:00 2001 From: Janne Cederberg Date: Tue, 9 Dec 2025 19:52:14 +0200 Subject: [PATCH] Fix navbar covering #anchor when navigating to an #anchor --- .../sphinx_material/static/stylesheets/application.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sphinx_material/sphinx_material/static/stylesheets/application.css b/sphinx_material/sphinx_material/static/stylesheets/application.css index 4abdd66d1..5ba62e6c9 100644 --- a/sphinx_material/sphinx_material/static/stylesheets/application.css +++ b/sphinx_material/sphinx_material/static/stylesheets/application.css @@ -1,6 +1,7 @@ @charset "UTF-8"; html{ - box-sizing:border-box + box-sizing:border-box; + scroll-padding-top: 64px; } *,:after,:before{ box-sizing:inherit