Web: Files: Editor : Fixed frame height for tablet

This commit is contained in:
Ilya Oleshko 2020-09-28 12:47:12 +03:00
parent 2c1d473314
commit ecd18e2a13

View File

@ -34,7 +34,8 @@ class PureEditor extends React.Component {
const urlParams = getObjectByLocation(window.location);
const fileId = urlParams.fileId || null;
const wrapperStyle = {
height: "100vh"
height: "100vh",
height: "calc(var(--vh, 1vh) * 100)"
};
files.openEdit(fileId).then(config => {