0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-17 14:54:30 +01:00

fixes : scope hovers on table rows to tbody

This commit is contained in:
Mark Otto 2012-08-14 14:51:33 -07:00
parent 662fface3b
commit dbcd87331d
2 changed files with 7 additions and 5 deletions
docs/assets/css
less

@ -1863,8 +1863,8 @@ table {
background-color: #f9f9f9;
}
.table-hover tr:hover td,
.table-hover tr:hover th {
.table-hover tbody tr:hover td,
.table-hover tbody tr:hover th {
background-color: #f5f5f5;
}

@ -159,10 +159,12 @@ table {
// ------------
// Placed here since it has to come after the potential zebra striping
.table-hover {
tbody {
tr:hover td,
tr:hover th {
background-color: @tableBackgroundHover;
}
}
}