From 8c7738950107863c918f3b7bb624743096d1b886 Mon Sep 17 00:00:00 2001 From: Graham Trott Date: Sun, 2 May 2021 21:33:13 +0100 Subject: [PATCH 1/2] test code --- resources/ecs/main.ecs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/ecs/main.ecs b/resources/ecs/main.ecs index 02e8102..d092b24 100644 --- a/resources/ecs/main.ecs +++ b/resources/ecs/main.ecs @@ -44,7 +44,7 @@ create Body if mobile - set the style of Body to `width:100vw` + set the style of Body to `width:300px` else set the style of Body to `width:100%;max-width:1200px;margin:0 auto` From ef87f6760f66d909b96fa56c9c34bdc75363935c Mon Sep 17 00:00:00 2001 From: Graham Trott Date: Sun, 2 May 2021 21:34:47 +0100 Subject: [PATCH 2/2] use screen width --- resources/ecs/main.ecs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/ecs/main.ecs b/resources/ecs/main.ecs index d092b24..6b45034 100644 --- a/resources/ecs/main.ecs +++ b/resources/ecs/main.ecs @@ -46,7 +46,7 @@ if mobile set the style of Body to `width:300px` else - set the style of Body to `width:100%;max-width:1200px;margin:0 auto` + set the style of Body to `width:100vw;max-width:1200px;margin:0 auto` on message begin