mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-24 05:57:18 +08:00
[VE] Fix styles in ie11
This commit is contained in:
@ -74,7 +74,7 @@ define([
|
||||
},
|
||||
'Statusbar': {
|
||||
'view:compact': function (statusbar, state) {
|
||||
var height = parseInt(window.getComputedStyle(document.body).getPropertyValue('--statusbar-height'));
|
||||
var height = parseInt(window.getComputedStyle(document.body).getPropertyValue('--statusbar-height') || 25);
|
||||
me.viewport.vlayout.getItem('statusbar').height = state ? height : height * 2;
|
||||
}
|
||||
},
|
||||
|
||||
@ -100,7 +100,7 @@ define([
|
||||
el: items[3],
|
||||
alias: 'statusbar',
|
||||
height: (function () {
|
||||
var h = parseInt(getComputedStyle(document.body).getPropertyValue('--statusbar-height'));
|
||||
var h = parseInt(getComputedStyle(document.body).getPropertyValue('--statusbar-height') || 25);
|
||||
return Common.localStorage.getBool('ve-compact-statusbar', true) ? h : h * 2;
|
||||
})()
|
||||
}]
|
||||
|
||||
@ -142,7 +142,8 @@
|
||||
height: @statusbar-height;
|
||||
left: 66px;
|
||||
right: 160px;
|
||||
|
||||
top: 0;
|
||||
|
||||
.rtl-sheet& {
|
||||
left: 160px;
|
||||
right: 66px;
|
||||
|
||||
Reference in New Issue
Block a user