Web: Common: Layout: fixed recalculation of height in Safari for large tablets

This commit is contained in:
Artem Tarasov 2021-01-26 20:20:21 +03:00
parent 943015a8d6
commit 8829da29b0

View File

@ -168,7 +168,7 @@ const Layout = (props) => {
window.innerHeight < window.innerWidth &&
window.innerWidth > 1024
) {
height = window.screen.availWidth - correctorTabletSafari;
height = window.screen.availHeight - correctorTabletSafari;
}
}
setContentHeight(height);