From: karland Date: Sun, 25 Jan 2015 22:12:41 +0000 (+0100) Subject: top-bar auto-width only for h1 in title-area (Update) X-Git-Tag: v5.5.1~5^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F6223%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git 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. --- 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,