rmdzav commited on
Commit
e2a573b
·
verified ·
1 Parent(s): 8b28ed7

Update static/style.css

Browse files
Files changed (1) hide show
  1. static/style.css +9 -3
static/style.css CHANGED
@@ -1,14 +1,20 @@
1
  * { box-sizing: border-box; margin: 0; padding: 0; }
2
 
3
  html, body {
4
- height: 100%; overflow: hidden;
 
 
5
  background-color: #0d1117;
6
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
7
  }
8
 
9
  .app-container {
10
- height: 100vh; max-width: 600px;
11
- margin: 0 auto; padding: 16px;
 
 
 
 
12
  display: flex; flex-direction: column; gap: 12px;
13
  }
14
 
 
1
  * { box-sizing: border-box; margin: 0; padding: 0; }
2
 
3
  html, body {
4
+ height: 100%;
5
+ height: 100dvh; /* Dynamic viewport, menyesuaikan bar browser secara otomatis */
6
+ overflow: hidden;
7
  background-color: #0d1117;
8
  font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
9
  }
10
 
11
  .app-container {
12
+ height: 100%;
13
+ max-height: 100dvh; /* Memastikan kontainer tidak melampaui layar dinamis */
14
+ max-width: 600px;
15
+ margin: 0 auto;
16
+ /* Padding bawah ditambah menjadi 24px agar footer punya ruang ekstra */
17
+ padding: 16px 16px 24px 16px;
18
  display: flex; flex-direction: column; gap: 12px;
19
  }
20