[VE] Fix styles in ie11

This commit is contained in:
Julia.Radzhabova
2025-06-03 00:23:11 +03:00
parent 1c582a83be
commit 09e7bc47fb
3 changed files with 4 additions and 3 deletions

View File

@ -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;
}
},

View File

@ -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;
})()
}]

View File

@ -142,7 +142,8 @@
height: @statusbar-height;
left: 66px;
right: 160px;
top: 0;
.rtl-sheet& {
left: 160px;
right: 66px;