浏览代码

Remove table side spacing

Denis K 8 年之前
父节点
当前提交
7c0048946f
共有 1 个文件被更改,包括 20 次插入0 次删除
  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;
     -webkit-overflow-scrolling: touch;
 
 
     @include for-mobile {
     @include for-mobile {
+      background: $sidebar-background-color;
+    }
+
+    @include for-mobile {
+      position: relative;
+      left: -20px;
+      width: calc(100% + 40px);
       margin-bottom: 0 !important;
       margin-bottom: 0 !important;
+
+      table {
+        border-radius: 0;
+      }
+
+      thead th, tfoot td {
+        border-radius: 0
+      }
+    }
+
+    @include for-phone {
+      left: -10px;
+      width: calc(100% + 20px);
     }
     }
   }
   }