Skip to content

Commit 708f7c5

Browse files
author
Yuki Okushi
authored
Rollup merge of #104720 - notriddle:notriddle/popover-before-display-inline, r=GuillaumeGomez
rustdoc: remove no-op CSS `.popover::before / a.test-arrow { display: inline-block }` Since this box is absolutely positioned, its display type is [blockified] anyway. We just need to make sure it isn't `display: none`. [blockified]: https://www.w3.org/TR/css-display-3/#transformations
2 parents ecf2536 + d632ca7 commit 708f7c5

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
@@ -932,7 +932,6 @@ so that we can apply CSS-filters to change the arrow color in themes */
932932
right: var(--popover-arrow-offset);
933933
border: solid var(--border-color);
934934
border-width: 1px 1px 0 0;
935-
display: inline-block;
936935
padding: 4px;
937936
transform: rotate(-45deg);
938937
top: -5px;
@@ -1200,7 +1199,6 @@ pre.rust .doccomment {
12001199
}
12011200

12021201
a.test-arrow {
1203-
display: inline-block;
12041202
visibility: hidden;
12051203
position: absolute;
12061204
padding: 5px 10px 5px 10px;

0 commit comments

Comments
 (0)