mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-02 01:42:36 +02:00
fixes #10521: Only remove bottom-border from last row of cells in tbody and tfoot within responsive tables
This commit is contained in:
2
dist/css/bootstrap.css
vendored
2
dist/css/bootstrap.css
vendored
@@ -1627,10 +1627,8 @@ table th[class*="col-"] {
|
|||||||
.table-responsive > .table-bordered > tfoot > tr > td:last-child {
|
.table-responsive > .table-bordered > tfoot > tr > td:last-child {
|
||||||
border-right: 0;
|
border-right: 0;
|
||||||
}
|
}
|
||||||
.table-responsive > .table-bordered > thead > tr:last-child > th,
|
|
||||||
.table-responsive > .table-bordered > tbody > tr:last-child > th,
|
.table-responsive > .table-bordered > tbody > tr:last-child > th,
|
||||||
.table-responsive > .table-bordered > tfoot > tr:last-child > th,
|
.table-responsive > .table-bordered > tfoot > tr:last-child > th,
|
||||||
.table-responsive > .table-bordered > thead > tr:last-child > td,
|
|
||||||
.table-responsive > .table-bordered > tbody > tr:last-child > td,
|
.table-responsive > .table-bordered > tbody > tr:last-child > td,
|
||||||
.table-responsive > .table-bordered > tfoot > tr:last-child > td {
|
.table-responsive > .table-bordered > tfoot > tr:last-child > td {
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
|
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -227,6 +227,13 @@ table {
|
|||||||
border-right: 0;
|
border-right: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Only nuke the last row's bottom-border in `tbody` and `tfoot` since
|
||||||
|
// chances are there will be only one `tr` in a `thead` and that would
|
||||||
|
// remove the border altogether.
|
||||||
|
> tbody,
|
||||||
|
> tfoot {
|
||||||
> tr:last-child {
|
> tr:last-child {
|
||||||
> th,
|
> th,
|
||||||
> td {
|
> td {
|
||||||
@@ -234,6 +241,7 @@ table {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user