From 08a6cf30f0a4c4e76f6b529af50d28e9e9014345 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sat, 1 Dec 2018 18:20:43 +0100 Subject: [PATCH] Remove unneeded body class selector --- src/librustdoc/html/static/rustdoc.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css index 1ae3b0b88c6..ad5bc021408 100644 --- a/src/librustdoc/html/static/rustdoc.css +++ b/src/librustdoc/html/static/rustdoc.css @@ -282,7 +282,7 @@ nav.sub { padding-left: 0; } -body:not(.source) .example-wrap { +:not(.source) .example-wrap { display: inline-flex; } @@ -299,7 +299,7 @@ body:not(.source) .example-wrap { text-align: right; } -body:not(.source) .example-wrap > pre.rust { +:not(.source) .example-wrap > pre.rust { width: 100%; }