Răsfoiți Sursa

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

Fix table overflow when there is long data that exceeds page width
Simon Legner 3 ani în urmă
părinte
comite
454a9b29a1
1 a modificat fișierele cu 3 adăugiri și 0 ștergeri
  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 {