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:
Diffstat (limited to 'content/assets/stylesheets/toc.scss')
-rw-r--r--content/assets/stylesheets/toc.scss9
1 files changed, 6 insertions, 3 deletions
diff --git a/content/assets/stylesheets/toc.scss b/content/assets/stylesheets/toc.scss
index 669a6584..a43e3129 100644
--- a/content/assets/stylesheets/toc.scss
+++ b/content/assets/stylesheets/toc.scss
@@ -1,5 +1,5 @@
---
-version: 20
+version: 21
---
@import 'variables';
@import 'utilities';
@@ -10,8 +10,7 @@ $nav-link-font-size: 0.875rem;
// ToC styles
.table-of-contents {
- padding: 1rem 1rem 0;
- margin-top: 35px;
+ padding: 0.5rem 1rem 0;
li {
list-style: none;
@@ -55,6 +54,10 @@ $nav-link-font-size: 0.875rem;
overflow-y: scroll;
height: 100vh;
}
+
+ @media(max-width: $bp-lg) {
+ margin-top: 7rem;
+ }
}
.nav-pills {