Skip to content

Commit 385f079

Browse files
JohnTitorojeda
andcommitted
Show triangle on the "Details" disclosure element in all cases
Co-authored-by: Miguel Ojeda <[email protected]>
1 parent f1e691d commit 385f079

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/librustdoc/html/static/rustdoc.css

+5-4
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,11 @@ summary {
199199
outline: none;
200200
}
201201

202+
details:not(.rustdoc-toggle) summary {
203+
margin-bottom: .6em;
204+
display: list-item;
205+
}
206+
202207
code, pre, a.test-arrow {
203208
font-family: "Source Code Pro", monospace;
204209
}
@@ -877,10 +882,6 @@ body.blur > :not(#help) {
877882
display: inline;
878883
}
879884

880-
.stab summary {
881-
display: list-item;
882-
}
883-
884885
.stab .emoji {
885886
font-size: 1.5em;
886887
}

0 commit comments

Comments
 (0)