Skip to content

Commit 0705c0f

Browse files
committed
trying another approach
1 parent 4397d64 commit 0705c0f

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

css/brainchop.css

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,14 @@ body {
2121
padding: 0;
2222
display: flex;
2323
flex-direction: column;
24-
height: 100vh;
25-
height: 100dvh;
24+
/* Lock body to viewport to fix mobile bottom bar visibility */
25+
position: fixed;
26+
top: 0;
27+
left: 0;
28+
right: 0;
29+
bottom: 0;
30+
width: 100%;
31+
height: 100%;
2632
color: var(--text-color);
2733
background-color: var(--bg-color);
2834
overflow: hidden;

0 commit comments

Comments
 (0)