Skip to content

Commit 33b6b99

Browse files
committed
use vw instead of %
1 parent 1bc8a22 commit 33b6b99

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

resources/ecs/main.ecs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,7 @@
4444

4545
create Body
4646
if mobile
47-
begin
48-
set the style of Body to `width:100%`
49-
alert `mobile`
50-
end
47+
set the style of Body to `width:100vw`
5148
else
5249
set the style of Body to `width:100%;max-width:1200px;margin:0 auto`
5350

0 commit comments

Comments
 (0)