瀏覽代碼

Merge pull request #1824 from thewheat/fix-table-overflow

Fix table overflow when there is long data that exceeds page width
Simon Legner 3 年之前
父節點
當前提交
454a9b29a1
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      assets/stylesheets/global/_base.scss

+ 3 - 0
assets/stylesheets/global/_base.scss

@@ -134,6 +134,9 @@ table {
   border-collapse: separate;
   border-spacing: 0;
   border-radius: 3px;
+  display: inline-block;
+  overflow-x: auto;
+  max-width: 100%;
 }
 
 caption {