From bfc8c1e3c19d5fc273c7491b2fefa6b4df05d295 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Sun, 4 Jul 2021 18:29:55 +0100 Subject: [PATCH] Doc: Fixed scrolling to anchors --- Assets/WebsiteAssets/css/site.css | 5 +++++ docs/css/site.css | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/Assets/WebsiteAssets/css/site.css b/Assets/WebsiteAssets/css/site.css index 964a1f24e..d98ed3213 100644 --- a/Assets/WebsiteAssets/css/site.css +++ b/Assets/WebsiteAssets/css/site.css @@ -1,3 +1,8 @@ +html { + /* https://css-tricks.com/fixed-headers-on-page-links-and-overlapping-content-oh-my/ */ + scroll-padding-top: 110px; +} + * { outline: none; font-family: "Montserrat", sans-serif; diff --git a/docs/css/site.css b/docs/css/site.css index 964a1f24e..d98ed3213 100644 --- a/docs/css/site.css +++ b/docs/css/site.css @@ -1,3 +1,8 @@ +html { + /* https://css-tricks.com/fixed-headers-on-page-links-and-overlapping-content-oh-my/ */ + scroll-padding-top: 110px; +} + * { outline: none; font-family: "Montserrat", sans-serif;