Fix header height when announces shown
This commit is contained in:
parent
634656be7e
commit
14b325aff4
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue