about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev+love@gmail.com>2022-11-23 06:40:23 +0900
committerGitHub <noreply@github.com>2022-11-23 06:40:23 +0900
commit708f7c5ae10e339ff3d4ed886259ff26773f24e0 (patch)
tree2a409e1dacc2893bc5c7c407e7155ce81fae7274
parentecf2536b038f0a17ce478d6bcdeff39e91c0a9de (diff)
parentd632ca79ac59e86f7a7ffa95ad747c916ddb282a (diff)
downloadrust-708f7c5ae10e339ff3d4ed886259ff26773f24e0.tar.gz
rust-708f7c5ae10e339ff3d4ed886259ff26773f24e0.zip
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
-rw-r--r--src/librustdoc/html/static/css/rustdoc.css2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/librustdoc/html/static/css/rustdoc.css b/src/librustdoc/html/static/css/rustdoc.css
index 2335f3ff1ce..d4e881ad832 100644
--- a/src/librustdoc/html/static/css/rustdoc.css
+++ b/src/librustdoc/html/static/css/rustdoc.css
@@ -932,7 +932,6 @@ so that we can apply CSS-filters to change the arrow color in themes */
 	right: var(--popover-arrow-offset);
 	border: solid var(--border-color);
 	border-width: 1px 1px 0 0;
-	display: inline-block;
 	padding: 4px;
 	transform: rotate(-45deg);
 	top: -5px;
@@ -1200,7 +1199,6 @@ pre.rust .doccomment {
 }
 
 a.test-arrow {
-	display: inline-block;
 	visibility: hidden;
 	position: absolute;
 	padding: 5px 10px 5px 10px;