Browse Source

Remove header padding in popups

Denis K 8 years ago
parent
commit
43afbb37d4
1 changed files with 8 additions and 2 deletions
  1. 8 2
      jet/static/jet/css/_base.scss

+ 8 - 2
jet/static/jet/css/_base.scss

@@ -24,12 +24,18 @@ body {
   font-family: $font;
   text-size-adjust: 100%;
 
+  @include for-mobile {
+    padding-top: $sidebar-header-height;
+  }
+
   &.non-scrollable {
     overflow: hidden;
   }
 
-  @include for-mobile {
-    padding-top: $sidebar-header-height;
+  &.popup {
+    @include for-mobile {
+      padding-top: 0;
+    }
   }
 }