fullscreen: no more fixes controls and padding
This commit is contained in:
parent
1e61f55210
commit
7ee192e774
|
@ -85,6 +85,10 @@ html {
|
|||
display: none;
|
||||
}
|
||||
|
||||
.container .controls {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.controls > ul.tabs {
|
||||
margin-top: 0;
|
||||
height: 1.5em;
|
||||
|
|
|
@ -706,7 +706,7 @@
|
|||
},
|
||||
|
||||
initializeControls: function (parent) {
|
||||
if ($(parent).closest('.dashboard').length) {
|
||||
if ($(parent).closest('.dashboard').length || $('#layout').hasClass('fullscreen-layout')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -736,6 +736,9 @@
|
|||
|
||||
fixControls: function ($parent) {
|
||||
var self = this;
|
||||
if ($('#layout').hasClass('fullscreen-layout')) {
|
||||
return;
|
||||
}
|
||||
|
||||
if ('undefined' === typeof $parent) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue