aboutsummaryrefslogtreecommitdiff
path: root/docs/assets/css/docs.css
diff options
context:
space:
mode:
Diffstat (limited to 'docs/assets/css/docs.css')
-rw-r--r--docs/assets/css/docs.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/assets/css/docs.css b/docs/assets/css/docs.css
index 38fd87a44..4e52cdf61 100644
--- a/docs/assets/css/docs.css
+++ b/docs/assets/css/docs.css
@@ -10,6 +10,7 @@
body {
position: relative; /* For scrollyspy */
+ padding-top: 62px; /* Default height of navbar */
}
/* */
@@ -197,6 +198,9 @@ section > ul li {
/* Affix all the things, and set widths because they're positioned, depending on viewport size */
@media screen and (min-width: 768px) {
+ body {
+ padding-top: 44px;
+ }
/* From here, start to affix the nav because we keep columns here */
.bs-docs-sidenav.affix {
position: fixed;