Skip to content

Commit 4fc15a8

Browse files
committed
NppExec_Manual: trying to improve the mobile layout
1 parent 0d5fcf3 commit 4fc15a8

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docs/NppExec_Manual/main_layout.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,22 @@
1+
*, *::before, *::after {
2+
box-sizing: border-box;
3+
}
4+
15
body, html {
26
margin: 0;
37
padding: 0;
48
height: 100%;
9+
width: 100%;
510
overflow: hidden; /* Avoiding double-scrolling */
11+
position: fixed; /* Improves iOS compatibility */
612
font-family: sans-serif;
713
}
814

915
.container {
1016
display: flex;
1117
width: 100%;
12-
height: 100vh;
18+
height: 100vh; /* Fallback for old browsers */
19+
height: 100dvh;
1320
flex-direction: row;
1421
}
1522

0 commit comments

Comments
 (0)