diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index ec63378c58f2ed6d012644744b3fae314a04f88c..d6cfbe099888ada242652536e1441cef06cd33aa 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 3d571fe540f713c2da6e49c8bec538db5ac0ae06..853b97e3902c1ee425128e0ba3c79b3fa29d4e14 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;
+    }
   }
 }