aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-07-05 20:16:10 -0700
committerMark Otto <[email protected]>2014-07-05 20:16:10 -0700
commitb4b82e815c45faaaff74e0e605336b5b37c015ab (patch)
tree5c68914daaae5293acad06647b088caf4ced472f
parentd55462fae830bbd93a42aba7144c2083b7ca3114 (diff)
parentac67bc857fb3e4a4da1240222d51dd8a76a1bacf (diff)
downloadbootstrap-b4b82e815c45faaaff74e0e605336b5b37c015ab.tar.xz
bootstrap-b4b82e815c45faaaff74e0e605336b5b37c015ab.zip
Merge pull request #13920 from AndreiRailean/patch-1
assign background to row of .table-striped
-rw-r--r--less/tables.less10
1 files changed, 2 insertions, 8 deletions
diff --git a/less/tables.less b/less/tables.less
index 2e1ef337b..38c7da349 100644
--- a/less/tables.less
+++ b/less/tables.less
@@ -106,10 +106,7 @@ th {
.table-striped {
> tbody > tr:nth-child(odd) {
- > td,
- > th {
- background-color: @table-bg-accent;
- }
+ background-color: @table-bg-accent;
}
}
@@ -120,10 +117,7 @@ th {
.table-hover {
> tbody > tr:hover {
- > td,
- > th {
- background-color: @table-bg-hover;
- }
+ background-color: @table-bg-hover;
}
}