From 4a2116b97af2e935b359558c046034f4c3cb80a8 Mon Sep 17 00:00:00 2001 From: ggomez Date: Tue, 19 Jul 2016 15:03:32 +0200 Subject: [PATCH] [CSS] Fix unwanted top margin for toggle wrapper --- src/librustdoc/html/static/rustdoc.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css index 303cc671f4a..de0457592fc 100644 --- a/src/librustdoc/html/static/rustdoc.css +++ b/src/librustdoc/html/static/rustdoc.css @@ -636,8 +636,11 @@ span.since { margin-right: 5px; } -.enum > .toggle-wrapper > .collapse-toggle, .struct > .toggle-wrapper > .collapse-toggle { +.toggle-wrapper > .collapse-toggle { left: 0; +} + +.variant + .toggle-wrapper > a { margin-top: 5px; }