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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user