We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3d0774d + dc24f02 commit 6d30039Copy full SHA for 6d30039
src/librustdoc/html/static/css/rustdoc.css
@@ -735,17 +735,21 @@ a {
735
.anchor {
736
display: none;
737
position: absolute;
738
- left: -7px;
+ left: 0;
739
+ background: none !important;
740
}
741
.anchor.field {
742
left: -5px;
743
744
.small-section-header > .anchor {
- left: -28px;
745
- padding-right: 10px; /* avoid gap that causes hover to disappear */
+ left: -15px;
746
+ padding-right: 8px;
747
-.anchor:before {
748
- content: '\2002\00a7\2002';
+h2.small-section-header > .anchor {
749
+ padding-right: 6px;
750
+}
751
+.anchor::before {
752
+ content: '§';
753
754
755
.docblock a:not(.srclink):not(.test-arrow):hover,
0 commit comments