aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--documentation/config/_default/config.toml2
-rw-r--r--documentation/themes/beastie/assets/styles/global.scss3
2 files changed, 3 insertions, 2 deletions
diff --git a/documentation/config/_default/config.toml b/documentation/config/_default/config.toml
index 770088c989..b14681a0c8 100644
--- a/documentation/config/_default/config.toml
+++ b/documentation/config/_default/config.toml
@@ -37,7 +37,7 @@ enableGitInfo = true
env-beastie = true
isOnline = true
skip-front-matter = true
- sectanchors = true
+ sectanchors = "after"
[outputs]
home = [ "HTML" ]
diff --git a/documentation/themes/beastie/assets/styles/global.scss b/documentation/themes/beastie/assets/styles/global.scss
index 765d81b672..77c1ece932 100644
--- a/documentation/themes/beastie/assets/styles/global.scss
+++ b/documentation/themes/beastie/assets/styles/global.scss
@@ -278,6 +278,7 @@ h4,
h5,
h6 {
margin: 0;
+ padding-bottom: .3rem;
}
h1,
@@ -334,7 +335,7 @@ h4 > .anchor::before,
h5 > .anchor::before,
h6 > .anchor::before {
visibility: hidden;
- margin-right: .3rem;
+ margin-left: .3rem;
content: "#";
color: var(--global-font-color);
}