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
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue