Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2017-08-04 09:00:33 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2017-08-04 09:00:33 +0300
commit524709e9faa0664c9696a7125edd61f73cc3d7ea (patch)
tree57ddf2dd3df2270b7a7c72269b119146a428c1b8 /content
parent4ee3a713e361ac7cf0d548ea8f65243051446c5b (diff)
parent630bb454f27de5cb106b530e0e74a8da936ba15f (diff)
Merge branch 'anchor-fix' into 'master'
Fix "Navbar hides initial content when jumping to in-page anchor" Closes #107 See merge request !106
Diffstat (limited to 'content')
-rw-r--r--content/assets/stylesheets/stylesheet.scss9
1 files changed, 9 insertions, 0 deletions
diff --git a/content/assets/stylesheets/stylesheet.scss b/content/assets/stylesheets/stylesheet.scss
index aa08f781..5b23ed43 100644
--- a/content/assets/stylesheets/stylesheet.scss
+++ b/content/assets/stylesheets/stylesheet.scss
@@ -731,3 +731,12 @@ h6 {
color: $topic-runner-header-color;
}
}
+
+// https://gitlab.com/gitlab-com/gitlab-docs/issues/107#note_36655246
+*[id]::before {
+ display: block;
+ content: " ";
+ margin-top: -75px;
+ height: 75px;
+ visibility: hidden;
+}