1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-25 14:30:46 +02:00

assign background to row of .table-striped

if background is not set on row, striping doesn't work properly in responsive tables where row and cells are set to  display: block.
This commit is contained in:
Andrei Railean
2014-06-25 14:01:34 +10:00
parent 4abb095783
commit 71974e2f4d

View File

@@ -106,6 +106,7 @@ th {
.table-striped { .table-striped {
> tbody > tr:nth-child(odd) { > tbody > tr:nth-child(odd) {
background-color: @table-bg-accent;
> td, > td,
> th { > th {
background-color: @table-bg-accent; background-color: @table-bg-accent;