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

@ -51,16 +51,15 @@
<title>OpenSCAD Playground</title>
<style>
#root,
body {
body,
html {
display: flex;
flex-direction: column;
flex: 1;
margin: 0;
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
height: 100vh;
height: var(--app-height);
}
.p-tabmenu-nav {