Fix header height when announces shown

This commit is contained in:
Florian Strohmaier 2016-12-13 13:53:23 +01:00
parent 634656be7e
commit 14b325aff4
3 changed files with 4 additions and 4 deletions

View File

@ -38,9 +38,8 @@
#header-logo-container { #header-logo-container {
height: 2.667em; height: 2.667em;
margin-left: .7em; margin: .1667em 0 .1667em .7em;
width: 100px; width: 100px;
margin-top: 0.1667em;
} }
#header-logo { #header-logo {

View File

@ -2,7 +2,6 @@
#announcements > ul { #announcements > ul {
background-color: @body-bg-color; background-color: @body-bg-color;
font-size: @font-size;
list-style: none; list-style: none;
margin: 0; margin: 0;
padding: 0; padding: 0;
@ -12,7 +11,7 @@
content: "\e811"; content: "\e811";
font-family: 'ifont'; font-family: 'ifont';
left: 1em; left: 1em;
margin-top: -0.8em; margin-top: -1em;
padding: 0.3em; padding: 0.3em;
position: absolute; position: absolute;
text-align: center; text-align: center;

View File

@ -579,6 +579,8 @@
var $search = $('#search'); var $search = $('#search');
var $sidebar = $('#sidebar'); var $sidebar = $('#sidebar');
$header.css({ height: 'auto'});
if ($layout.hasClass('minimal-layout')) { if ($layout.hasClass('minimal-layout')) {
if (! this.mobileMenu && $sidebar.length) { if (! this.mobileMenu && $sidebar.length) {
$header.css({ $header.css({