mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-24 14:13:06 +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:
@@ -106,6 +106,7 @@ th {
|
||||
|
||||
.table-striped {
|
||||
> tbody > tr:nth-child(odd) {
|
||||
background-color: @table-bg-accent;
|
||||
> td,
|
||||
> th {
|
||||
background-color: @table-bg-accent;
|
||||
|
Reference in New Issue
Block a user