diff --git a/doc/themes/scikit-learn/static/nature.css_t b/doc/themes/scikit-learn/static/nature.css_t index e7ec024ea9baf..86449d22204f3 100644 --- a/doc/themes/scikit-learn/static/nature.css_t +++ b/doc/themes/scikit-learn/static/nature.css_t @@ -40,9 +40,7 @@ ul.horizontal, ul.horizontal li { div.header { - /* for the logo to correctly expand when showing results - but remain cut when not */ - height: 60px; + /* Don't leave a fixed height. It won't allow the header to expand when search results appear. */ } @@ -107,6 +105,9 @@ div.navbar div.nav-icon { } /* Nav bar collapses for mobile phones and shows the hamburger */ @media screen and (max-width: 680px) { + div.header { + height: 60px; + } div.navbar div.nav-icon { position: absolute; display: inline-block;