Skip to content

Commit c71ffcc

Browse files
committed
rustdoc: Make toggle marker on the same line with <summary>
1 parent 2089bd2 commit c71ffcc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

+5
Original file line numberDiff line numberDiff line change
@@ -1733,6 +1733,11 @@ details.toggle {
17331733
position: relative;
17341734
}
17351735

1736+
details.implementors-toggle {
1737+
/* This makes [-] on the same line as <summary>. */
1738+
contain: inline-size;
1739+
}
1740+
17361741
/* The hideme class is used on summary tags that contain a span with
17371742
placeholder text shown only when the toggle is closed. For instance,
17381743
"Expand description" or "Show methods". */

0 commit comments

Comments
 (0)