From 630bb454f27de5cb106b530e0e74a8da936ba15f Mon Sep 17 00:00:00 2001 From: Achilleas Pipinellis Date: Thu, 3 Aug 2017 18:31:18 +0300 Subject: Fix "Navbar hides initial content when jumping to in-page anchor" https://github.com/twbs/bootstrap/issues/1768#issuecomment-46519033 Closes https://gitlab.com/gitlab-com/gitlab-docs/issues/107 --- content/assets/stylesheets/stylesheet.scss | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'content/assets') 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; +} -- cgit v1.2.3