diff options
author | 2021-07-29 15:31:18 -0500 | |
---|---|---|
committer | 2021-07-29 16:31:18 -0400 | |
commit | 908139642a7863ce38e567f791aee1972ab6ec1f (patch) | |
tree | 15674dd7e9ea8542b6efed8e97a2b0f119da4dae /docs/public | |
parent | cd2b5df49c28a2fa6454ab71449fd20ba9ef31f9 (diff) | |
download | astro-908139642a7863ce38e567f791aee1972ab6ec1f.tar.gz astro-908139642a7863ce38e567f791aee1972ab6ec1f.tar.zst astro-908139642a7863ce38e567f791aee1972ab6ec1f.zip |
📘 DOC: Improve SiteSidebar styles on mobile (#939)
Diffstat (limited to 'docs/public')
-rw-r--r-- | docs/public/index.css | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/public/index.css b/docs/public/index.css index 9ccbabd32..ee0673702 100644 --- a/docs/public/index.css +++ b/docs/public/index.css @@ -463,5 +463,5 @@ h2.heading { /* Screenreader Only Text - End */ :target { - scroll-margin-top: 4rem; + scroll-margin: calc(var(--theme-sidebar-offset, 5rem) + 2rem) 0 2rem; } |