Skip to content

Commit

Permalink
Update src/librustdoc/html/static/css/rustdoc.css
Browse files Browse the repository at this point in the history
Co-authored-by: Jacob Hoffman-Andrews <[email protected]>
  • Loading branch information
notriddle and jsha authored Oct 26, 2022
1 parent 60b5f6d commit b857138
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -1586,8 +1586,9 @@ details.rustdoc-toggle > summary:hover::before {
}

details.rustdoc-toggle > summary:focus-visible::before {
/* The SVG is black, and gets turned white using a filter.
/* The SVG is black, and gets turned white using a filter in the dark themes.
Do the same with the outline.
The dotted 1px style is copied from Firefox's focus ring style.
*/
outline: 1px dotted #000;
outline-offset: 1px;
Expand Down

0 comments on commit b857138

Please sign in to comment.