mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-26 07:14:35 +02:00
Fix header height when announces shown
This commit is contained in:
parent
634656be7e
commit
14b325aff4
@ -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 {
|
||||||
|
@ -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;
|
||||||
|
@ -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({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user