瀏覽代碼

added style to break content

akira-s 6 年之前
父節點
當前提交
37e94f1132
共有 1 個文件被更改,包括 22 次插入0 次删除
  1. 22 0
      src/client/styles/scss/_search.scss

+ 22 - 0
src/client/styles/scss/_search.scss

@@ -209,4 +209,26 @@
   caption {
     display: table-header-group;
   }
+
+  th {
+    text-align: right;
+  }
+
+  @media (max-width: 576px) {
+    white-space: normal !important;
+    
+    th,
+    td {
+      display: block;
+    }
+    
+    th {
+      text-align: left;
+    }
+    
+    td {
+      border-top: none !important;
+      padding-top: 0 !important;
+    }
+  }
 }