Fix iOS / iPadOS layouts w/ a funky JS+CSS trick

This commit is contained in:
ochafik 2023-03-27 20:01:24 +01:00
commit e3856c0984
4 changed files with 21 additions and 36 deletions

View file

@ -11,6 +11,7 @@ import { createInitialState } from './state/initial-state';
import './index.css';
import debug from 'debug';
import { registerCustomAppHeightCSSProperty } from './utils';
const log = debug('app:log');
if (process.env.NODE_ENV !== 'production') {
@ -21,7 +22,8 @@ if (process.env.NODE_ENV !== 'production') {
}
(async () => {
registerCustomAppHeightCSSProperty();
const fs = await createEditorFS('/');
await registerOpenSCADLanguage(fs, '/', zipArchives);