diff --git a/misc/vertical-tabs.css b/misc/vertical-tabs.css
index 10e8153..673e68f 100644
--- a/misc/vertical-tabs.css
+++ b/misc/vertical-tabs.css
@@ -59,6 +59,9 @@ div.vertical-tabs {
   line-height: normal;
   margin-bottom: 0;
 }
+#active-vertical-tab {
+  line-height: 0;
+}
 
 /**
  * Prevent text inputs from overflowing when container is too narrow. "width" is
diff --git a/themes/seven/vertical-tabs.css b/themes/seven/vertical-tabs.css
index 4f66222..302bc25 100644
--- a/themes/seven/vertical-tabs.css
+++ b/themes/seven/vertical-tabs.css
@@ -75,6 +75,9 @@ div.vertical-tabs .vertical-tabs-panes legend {
 .vertical-tabs-pane .fieldset-wrapper > div:first-child {
   padding-top: 5px;
 }
+#active-vertical-tab {
+  line-height: 0;
+}
 
 /**
  * Prevent text inputs from overflowing when container is too narrow. "width" is
