diff options
author | Mark Otto <markotto@twitter.com> | 2012-08-15 01:51:33 +0400 |
---|---|---|
committer | Mark Otto <markotto@twitter.com> | 2012-08-15 01:51:33 +0400 |
commit | dbcd87331d8a84fe5f65da0420409e859effebf1 (patch) | |
tree | 14ba0d4328769215aa77a67a871a224c274906d0 | |
parent | 662fface3b73917b8424ad87995dee62f5e3053a (diff) |
fixes #4371: scope hovers on table rows to tbody
-rw-r--r-- | docs/assets/css/bootstrap.css | 4 | ||||
-rw-r--r-- | less/tables.less | 8 |
2 files changed, 7 insertions, 5 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index ec63378c58..d6cfbe0998 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -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; } diff --git a/less/tables.less b/less/tables.less index 3d571fe540..853b97e390 100644 --- a/less/tables.less +++ b/less/tables.less @@ -159,9 +159,11 @@ table { // ------------ // Placed here since it has to come after the potential zebra striping .table-hover { - tr:hover td, - tr:hover th { - background-color: @tableBackgroundHover; + tbody { + tr:hover td, + tr:hover th { + background-color: @tableBackgroundHover; + } } } |