From 602bac2a8a0cded40384cdd9b24dcc2d503411e2 Mon Sep 17 00:00:00 2001 From: Ajackster Date: Mon, 3 Oct 2016 11:07:43 -0400 Subject: [PATCH 1/2] Fixed search not expanding page --- doc/themes/scikit-learn/static/nature.css_t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/themes/scikit-learn/static/nature.css_t b/doc/themes/scikit-learn/static/nature.css_t index e7ec024ea9baf..a428f93720e79 100644 --- a/doc/themes/scikit-learn/static/nature.css_t +++ b/doc/themes/scikit-learn/static/nature.css_t @@ -42,7 +42,6 @@ ul.horizontal, ul.horizontal li { div.header { /* for the logo to correctly expand when showing results but remain cut when not */ - height: 60px; } @@ -107,6 +106,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; From 26bc054c5d001b1291ed3ddc0962b6200fb8f163 Mon Sep 17 00:00:00 2001 From: Ajackster Date: Wed, 5 Oct 2016 10:15:00 -0400 Subject: [PATCH 2/2] Changed the comment to warn users why not to leave fixed height on header --- doc/themes/scikit-learn/static/nature.css_t | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/themes/scikit-learn/static/nature.css_t b/doc/themes/scikit-learn/static/nature.css_t index a428f93720e79..86449d22204f3 100644 --- a/doc/themes/scikit-learn/static/nature.css_t +++ b/doc/themes/scikit-learn/static/nature.css_t @@ -40,8 +40,7 @@ ul.horizontal, ul.horizontal li { div.header { - /* for the logo to correctly expand when showing results - but remain cut when not */ + /* Don't leave a fixed height. It won't allow the header to expand when search results appear. */ }