diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index 3f295b96dc5..b83bb405dc2 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -920,7 +920,6 @@ so that we can apply CSS-filters to change the arrow color in themes */
}
.popover {
- font-size: 1rem;
position: absolute;
right: 0;
z-index: 2;
@@ -928,7 +927,6 @@ so that we can apply CSS-filters to change the arrow color in themes */
margin-top: 7px;
border-radius: 3px;
border: 1px solid var(--border-color);
- font-size: 1rem;
--popover-arrow-offset: 11px;
}