mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01:00
fixes #4371: scope hovers on table rows to tbody
This commit is contained in:
parent
662fface3b
commit
dbcd87331d
4
docs/assets/css/bootstrap.css
vendored
4
docs/assets/css/bootstrap.css
vendored
@ -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,10 +159,12 @@ 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 {
|
||||||
|
tbody {
|
||||||
tr:hover td,
|
tr:hover td,
|
||||||
tr:hover th {
|
tr:hover th {
|
||||||
background-color: @tableBackgroundHover;
|
background-color: @tableBackgroundHover;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user