Commit 4418c828 authored by Mark Otto's avatar Mark Otto

Fixes #6954: properly reset grid classes within tables

parent bfc4aaf6
...@@ -975,11 +975,15 @@ th { ...@@ -975,11 +975,15 @@ th {
background-color: #f5f5f5; background-color: #f5f5f5;
} }
table td[class*="span"], table col[class^="span"] {
table th[class*="span"] { display: table-column;
float: none;
}
table td[class^="span"],
table th[class^="span"] {
display: table-cell; display: table-cell;
float: none; float: none;
margin-left: 0;
} }
.table tbody tr.success > td { .table tbody tr.success > td {
......
...@@ -177,12 +177,15 @@ th { ...@@ -177,12 +177,15 @@ th {
// TABLE CELL SIZING // TABLE CELL SIZING
// ----------------- // -----------------
// Reset default grid behavior // Reset default table behavior
table td[class*="span"], table col[class^="span"] {
table th[class*="span"] { float: none;
display: table-column;
}
table td[class^="span"],
table th[class^="span"] {
float: none;
display: table-cell; display: table-cell;
float: none; // undo default grid column styles
margin-left: 0; // undo default grid column styles
} }
// TABLE BACKGROUNDS // TABLE BACKGROUNDS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment