diff --git a/themes/doc-theme/static/css/doc-theme.css b/themes/doc-theme/static/css/doc-theme.css index bf06346..5e7581e 100644 --- a/themes/doc-theme/static/css/doc-theme.css +++ b/themes/doc-theme/static/css/doc-theme.css @@ -337,10 +337,6 @@ p { /** this gives correct offset when link to anchors */ -*[id]:before { - display: block; - content: " "; - margin-top: -75px; - height: 75px; - visibility: hidden; +html { + scroll-padding-top: 70px; /* height of sticky header */ }