Skip to content

Commit 8b34675

Browse files
committed
rustdoc: remove no-op CSS .popover { font-size: 1rem }
This rule was added in cc4f804 because the help popover inherited the font-size from the help button "?" icon. It doesn't inherit this any more, because it was moved from being nested inside the link to sharing a wrapper DIV with it.
1 parent 96ddd32 commit 8b34675

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/librustdoc/html/static/css/rustdoc.css

-2
Original file line numberDiff line numberDiff line change
@@ -920,15 +920,13 @@ so that we can apply CSS-filters to change the arrow color in themes */
920920
}
921921

922922
.popover {
923-
font-size: 1rem;
924923
position: absolute;
925924
right: 0;
926925
z-index: 2;
927926
display: block;
928927
margin-top: 7px;
929928
border-radius: 3px;
930929
border: 1px solid var(--border-color);
931-
font-size: 1rem;
932930
--popover-arrow-offset: 11px;
933931
}
934932

0 commit comments

Comments
 (0)