From e08a84a0c18739417a50c3e46917ced5037244eb Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Wed, 29 Aug 2018 22:48:37 +0200 Subject: [PATCH] Fix UI issues on Implementations on Foreign types --- src/librustdoc/html/static/rustdoc.css | 3 +++ src/librustdoc/html/static/themes/dark.css | 4 ++++ src/librustdoc/html/static/themes/light.css | 4 ++++ 3 files changed, 11 insertions(+) diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css index ffe6a40b36998..eb0ef1cc5615c 100644 --- a/src/librustdoc/html/static/rustdoc.css +++ b/src/librustdoc/html/static/rustdoc.css @@ -509,6 +509,9 @@ h4 > code, h3 > code, .invisible > code { top: -9px; left: -13px; } +.methods > .stability { + margin-top: -8px; +} nav { border-bottom: 1px solid; diff --git a/src/librustdoc/html/static/themes/dark.css b/src/librustdoc/html/static/themes/dark.css index 2ed7f7a926a48..12d2208489368 100644 --- a/src/librustdoc/html/static/themes/dark.css +++ b/src/librustdoc/html/static/themes/dark.css @@ -407,3 +407,7 @@ kbd { .search-results td span.grey { color: #ccc; } + +.impl-items code { + background-color: rgba(0, 0, 0, 0); +} diff --git a/src/librustdoc/html/static/themes/light.css b/src/librustdoc/html/static/themes/light.css index f7cb51163ecfc..043d7ae23c2e4 100644 --- a/src/librustdoc/html/static/themes/light.css +++ b/src/librustdoc/html/static/themes/light.css @@ -401,3 +401,7 @@ kbd { .search-results td span.grey { color: #999; } + +.impl-items code { + background-color: rgba(0, 0, 0, 0); +}