Skip to content

Commit

Permalink
rustdoc: make the hover trail for doc anchors a bit bigger
Browse files Browse the repository at this point in the history
  • Loading branch information
notriddle committed Aug 3, 2024
1 parent edc4dc3 commit eb2de64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/css/rustdoc.css
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ a.doc-anchor {
left: -17px;
/* We add this padding so that when the cursor moves from the heading's text to the anchor,
the anchor doesn't disappear. */
padding-right: 5px;
padding-right: 10px;
/* And this padding is used to make the anchor larger and easier to click on. */
padding-left: 3px;
}
Expand Down

0 comments on commit eb2de64

Please sign in to comment.