1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05: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 {
> tbody > tr:nth-child(odd) {
background-color: @table-bg-accent;
> td,
> th {
background-color: @table-bg-accent;