From b8f22ea5f4c7f5a538326de604afe7e9a03a799a Mon Sep 17 00:00:00 2001 From: Matrem Date: Sat, 6 Jan 2024 21:29:23 +0100 Subject: [PATCH] test min/max width --- canvastransform/style.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/canvastransform/style.css b/canvastransform/style.css index 169c06f..23cfd56 100644 --- a/canvastransform/style.css +++ b/canvastransform/style.css @@ -1,4 +1,7 @@ -body { +body, +html { + max-width: 100%; + min-width: 100%; padding: 0; margin: 0; border: 0; @@ -12,7 +15,7 @@ div#draw { width: 100vw; height: 100vh; /*border: solid red 3px;*/ - position: relative; + /*position: relative;*/ } canvas#canvas {