Debug toolbar layout.

This commit is contained in:
Julia Radzhabova 2017-06-14 17:29:36 +03:00
parent 08186157c6
commit e51c7dcebf
6 changed files with 6 additions and 6 deletions

View file

@ -85,7 +85,7 @@ define([
items: [{ items: [{
el: $container.find(' > .layout-item#toolbar'), el: $container.find(' > .layout-item#toolbar'),
// rely: true // rely: true
height: Common.localStorage.getBool('de-compact-toolbar') ? 40 : 40+67 height: Common.localStorage.getBool('de-compact-toolbar') ? 32 : 32+67
}, { }, {
el: $container.find(' > .layout-item.middle'), el: $container.find(' > .layout-item.middle'),
stretch: true stretch: true

View file

@ -28,7 +28,7 @@
.toolbar-mask { .toolbar-mask {
position: absolute; position: absolute;
top: 0; top: 32px;
left: 48px; left: 48px;
right: 45px; right: 45px;
height: 100%; height: 100%;

View file

@ -87,7 +87,7 @@ define([
box: $container, box: $container,
items: [{ items: [{
el: items[0], el: items[0],
height: Common.localStorage.getBool('pe-compact-toolbar') ? 40 : 40+67 height: Common.localStorage.getBool('pe-compact-toolbar') ? 32 : 32+67
}, { }, {
el: items[1], el: items[1],
stretch: true stretch: true

View file

@ -26,7 +26,7 @@
.toolbar-mask { .toolbar-mask {
position: absolute; position: absolute;
top: 0; top: 32px;
left: 48px; left: 48px;
right: 45px; right: 45px;
height: 100%; height: 100%;

View file

@ -74,7 +74,7 @@ define([
toolbar.setExtra('left', me.header.getPanel('left', config)); toolbar.setExtra('left', me.header.getPanel('left', config));
}, },
'view:compact' : function (toolbar, state) { 'view:compact' : function (toolbar, state) {
me.viewport.vlayout.panels[0].height = state ? 40 : 40+67; me.viewport.vlayout.panels[0].height = state ? 32 : 32+67;
} }
}, },
'Common.Views.Header': { 'Common.Views.Header': {

View file

@ -45,7 +45,7 @@
.toolbar-mask { .toolbar-mask {
position: absolute; position: absolute;
top: 0; top: 32px;
left: 48px; left: 48px;
right: 45px; right: 45px;
height: 100%; height: 100%;