Commit dbcd8733 authored by Mark Otto's avatar Mark Otto
Browse files

fixes #4371: scope hovers on table rows to tbody

parent 662fface
1 merge request!4427Use variable for desktop media query
Showing with 7 additions and 5 deletions
+7 -5
...@@ -1863,8 +1863,8 @@ table { ...@@ -1863,8 +1863,8 @@ table {
background-color: #f9f9f9; background-color: #f9f9f9;
} }
.table-hover tr:hover td, .table-hover tbody tr:hover td,
.table-hover tr:hover th { .table-hover tbody tr:hover th {
background-color: #f5f5f5; background-color: #f5f5f5;
} }
......
...@@ -159,9 +159,11 @@ table { ...@@ -159,9 +159,11 @@ table {
// ------------ // ------------
// Placed here since it has to come after the potential zebra striping // Placed here since it has to come after the potential zebra striping
.table-hover { .table-hover {
tr:hover td, tbody {
tr:hover th { tr:hover td,
background-color: @tableBackgroundHover; tr:hover th {
background-color: @tableBackgroundHover;
}
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment