Skip to content

Commit acef9ef

Browse files
committed
Add MMRL insets
1 parent a4ac994 commit acef9ef

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

module/webroot/css/common.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ body {
1919
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
2020
background-color: var(--bg-color);
2121
color: var(--text);
22-
padding: var(--spacing);
2322
min-height: 100vh;
24-
padding-bottom: calc(var(--footer-height) + var(--spacing));
2523
position: relative;
24+
padding: var(--spacing);
25+
padding-top: var(--window-inset-top);
26+
padding-bottom: var(--window-inset-bottom);
2627
}
2728

2829
.container {

module/webroot/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<title>TCP Optimiser</title>
7+
<!-- Window Safe Area Insets -->
8+
<link rel="stylesheet" type="text/css" href="https://mui.kernelsu.org/internal/insets.css" />
79
<link rel="stylesheet" href="./css/common.css">
810
<link rel="stylesheet" href="./css/icons.css">
911
<script type="module" src="./js/router.js"></script>

0 commit comments

Comments
 (0)