Browse Source

Remove table side spacing

Denis K 8 năm trước cách đây
mục cha
commit
7c0048946f
1 tập tin đã thay đổi với 20 bổ sung0 xóa
  1. 20 0
      jet/static/jet/css/_changelist.scss

+ 20 - 0
jet/static/jet/css/_changelist.scss

@@ -15,7 +15,27 @@
     -webkit-overflow-scrolling: touch;
 
     @include for-mobile {
+      background: $sidebar-background-color;
+    }
+
+    @include for-mobile {
+      position: relative;
+      left: -20px;
+      width: calc(100% + 40px);
       margin-bottom: 0 !important;
+
+      table {
+        border-radius: 0;
+      }
+
+      thead th, tfoot td {
+        border-radius: 0
+      }
+    }
+
+    @include for-phone {
+      left: -10px;
+      width: calc(100% + 20px);
     }
   }