mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
Fixes #6954: properly reset grid classes within tables
This commit is contained in:
parent
bfc4aaf6e8
commit
4418c82888
10
docs/assets/css/bootstrap.css
vendored
10
docs/assets/css/bootstrap.css
vendored
@ -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 {
|
|||||||
// 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
|
||||||
|
Loading…
Reference in New Issue
Block a user