Browse Source

Merge pull request #2205 from weseek/fix/gap-content-and-navbar

Fix gap navbar and content
itizawa 5 years ago
parent
commit
cf33ff720a
1 changed files with 7 additions and 0 deletions
  1. 7 0
      src/client/styles/scss/_layout_kibela.scss

+ 7 - 0
src/client/styles/scss/_layout_kibela.scss

@@ -56,6 +56,9 @@ body.kibela {
     min-height: 8em;
     min-height: 8em;
     margin: auto;
     margin: auto;
     border-radius: 0.35em;
     border-radius: 0.35em;
+    @include media-breakpoint-down(xs) {
+      top: 0px;
+    }
   }
   }
 
 
   .grw-subnav {
   .grw-subnav {
@@ -73,6 +76,10 @@ body.kibela {
     @media screen and (max-width: 765px) {
     @media screen and (max-width: 765px) {
       padding-top: 30px;
       padding-top: 30px;
     }
     }
+
+    @include media-breakpoint-down(xs) {
+      padding-top: 0px;
+    }
   }
   }
 
 
   .revision-toc {
   .revision-toc {