Debug toolbar layout.
This commit is contained in:
parent
08186157c6
commit
e51c7dcebf
|
@ -85,7 +85,7 @@ define([
|
|||
items: [{
|
||||
el: $container.find(' > .layout-item#toolbar'),
|
||||
// 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'),
|
||||
stretch: true
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
.toolbar-mask {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
top: 32px;
|
||||
left: 48px;
|
||||
right: 45px;
|
||||
height: 100%;
|
||||
|
|
|
@ -87,7 +87,7 @@ define([
|
|||
box: $container,
|
||||
items: [{
|
||||
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],
|
||||
stretch: true
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
.toolbar-mask {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
top: 32px;
|
||||
left: 48px;
|
||||
right: 45px;
|
||||
height: 100%;
|
||||
|
|
|
@ -74,7 +74,7 @@ define([
|
|||
toolbar.setExtra('left', me.header.getPanel('left', config));
|
||||
},
|
||||
'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': {
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
|
||||
.toolbar-mask {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
top: 32px;
|
||||
left: 48px;
|
||||
right: 45px;
|
||||
height: 100%;
|
||||
|
|
Loading…
Reference in a new issue