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 {
height: 2.667em;
margin-left: .7em;
margin: .1667em 0 .1667em .7em;
width: 100px;
margin-top: 0.1667em;
}
#header-logo {

View File

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

View File

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