From fce04fedd6b5ea77f9ac0d4373aa589abe3306e6 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Thu, 15 Oct 2020 17:28:42 +0200 Subject: [PATCH] Hide help button on mobile devices --- src/librustdoc/html/static/rustdoc.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/librustdoc/html/static/rustdoc.css b/src/librustdoc/html/static/rustdoc.css index 391526f0a30e1..3db38d60fa1d3 100644 --- a/src/librustdoc/html/static/rustdoc.css +++ b/src/librustdoc/html/static/rustdoc.css @@ -1544,6 +1544,14 @@ h4 > .notable-traits { left: 0; top: 100%; } + + /* We don't display the help button on mobile devices. */ + .help-button { + display: none; + } + .search-container > div { + width: calc(100% - 32px); + } } @media print {