From e95a16d55fbdb99b02ef549ff3205e2d6cce06d9 Mon Sep 17 00:00:00 2001 From: Robert Lord Date: Thu, 23 Nov 2017 13:09:21 -0800 Subject: [PATCH] Fix bug where wrapping the logo in an tag would brake it --- source/stylesheets/screen.css.scss | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/source/stylesheets/screen.css.scss b/source/stylesheets/screen.css.scss index c3814b3..48dd009 100644 --- a/source/stylesheets/screen.css.scss +++ b/source/stylesheets/screen.css.scss @@ -72,9 +72,10 @@ html, body { } // This is the logo at the top of the ToC - &>img { + .logo { display: block; max-width: 100%; + margin-bottom: $logo-margin; } &>.search { @@ -102,10 +103,6 @@ html, body { } } - .logo { - margin-bottom: $logo-margin; - } - .search-results { margin-top: 0; box-sizing: border-box;