Przeglądaj źródła

Remove header padding in popups

Denis K 8 lat temu
rodzic
commit
43afbb37d4
1 zmienionych plików z 8 dodań i 2 usunięć
  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;
+    }
   }
 }