From 89f4f1bca1267ae42fcd2aa85dcdf5d348565038 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Tue, 6 Mar 2018 22:05:41 +0100 Subject: [PATCH] Fix anchor not always being put at the right place --- src/librustdoc/html/static/rustdoc.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css index b70dc37fdd5..8060fbc1ee0 100644 --- a/src/librustdoc/html/static/rustdoc.css +++ b/src/librustdoc/html/static/rustdoc.css @@ -528,6 +528,9 @@ a { .anchor.field { left: -5px; } +.small-section-header > .anchor { + left: -28px; +} .anchor:before { content: '\2002\00a7\2002'; }