Fix iOS / iPadOS layouts w/ a funky JS+CSS trick
This commit is contained in:
parent
28853b2da6
commit
e3856c0984
4 changed files with 21 additions and 36 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue