Skip to content

Commit

Permalink
rustdoc: Make toggle marker on the same line with <summary>
Browse files Browse the repository at this point in the history
  • Loading branch information
tesuji committed Jul 8, 2024
1 parent 2089bd2 commit 0fdb788
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -1733,6 +1733,11 @@ details.toggle {
position: relative;
}

details.implementors-toggle {
/* This makes [-] on the same line as <summary>. */

Check failure on line 1737 in src/librustdoc/html/static/css/rustdoc.css

View workflow job for this annotation

GitHub Actions / PR - mingw-check-tidy

CSS files use tabs for indent
contain: inline-size;
}

/* The hideme class is used on summary tags that contain a span with
placeholder text shown only when the toggle is closed. For instance,
"Expand description" or "Show methods". */
Expand Down

0 comments on commit 0fdb788

Please sign in to comment.