From a3b82c8ee0099f233d2c14ea3fd003cb70d8865b Mon Sep 17 00:00:00 2001 From: karland Date: Sun, 25 Jan 2015 23:12:41 +0100 Subject: [PATCH] top-bar auto-width only for h1 in title-area (Update) SEO suggests to only use one h1 per page. Therefore one should not use up the h1 element already in the title. If h2 is used instead the width is not auto and there is a line break, if title name is too long. --- scss/foundation/components/_top-bar.scss | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/scss/foundation/components/_top-bar.scss b/scss/foundation/components/_top-bar.scss index 842bd9310..2ed306888 100644 --- a/scss/foundation/components/_top-bar.scss +++ b/scss/foundation/components/_top-bar.scss @@ -462,7 +462,12 @@ $topbar-dropdown-arrows: true !default; //Set false to remove the \00bb >> text .toggle-topbar { display: none; } .title-area { float: $default-float; } - .name h1 a { width: auto; } + .name h1 a, + .name h2 a, + .name h3 a, + .name h4 a, + .name h5 a, + .name h6 a { width: auto; } input, .button, -- 2.47.2