diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index 299933d4bb..c078ea4af1 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -975,11 +975,15 @@ th { background-color: #f5f5f5; } -table td[class*="span"], -table th[class*="span"] { +table col[class^="span"] { + display: table-column; + float: none; +} + +table td[class^="span"], +table th[class^="span"] { display: table-cell; float: none; - margin-left: 0; } .table tbody tr.success > td { diff --git a/less/tables.less b/less/tables.less index 67f7cd7658..6a4e5e4fda 100644 --- a/less/tables.less +++ b/less/tables.less @@ -177,12 +177,15 @@ th { // TABLE CELL SIZING // ----------------- -// Reset default grid behavior -table td[class*="span"], -table th[class*="span"] { +// Reset default table behavior +table col[class^="span"] { + float: none; + display: table-column; +} +table td[class^="span"], +table th[class^="span"] { + float: none; display: table-cell; - float: none; // undo default grid column styles - margin-left: 0; // undo default grid column styles } // TABLE BACKGROUNDS