mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01: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:
parent
4abb095783
commit
71974e2f4d
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user