fullscreen: no more fixes controls and padding

This commit is contained in:
Thomas Gelf 2015-06-18 13:40:46 +02:00
parent 1e61f55210
commit 7ee192e774
2 changed files with 8 additions and 1 deletions

View File

@ -85,6 +85,10 @@ html {
display: none; display: none;
} }
.container .controls {
padding: 0;
}
.controls > ul.tabs { .controls > ul.tabs {
margin-top: 0; margin-top: 0;
height: 1.5em; height: 1.5em;

View File

@ -706,7 +706,7 @@
}, },
initializeControls: function (parent) { initializeControls: function (parent) {
if ($(parent).closest('.dashboard').length) { if ($(parent).closest('.dashboard').length || $('#layout').hasClass('fullscreen-layout')) {
return; return;
} }
@ -736,6 +736,9 @@
fixControls: function ($parent) { fixControls: function ($parent) {
var self = this; var self = this;
if ($('#layout').hasClass('fullscreen-layout')) {
return;
}
if ('undefined' === typeof $parent) { if ('undefined' === typeof $parent) {