From a52267a165b2ff72e25c4094a70b668a3d13ae73 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Tue, 21 Feb 2017 10:47:00 +0100 Subject: [PATCH] fix dynamic sizing of touches --- nanofun.css | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/nanofun.css b/nanofun.css index e819244..785d614 100644 --- a/nanofun.css +++ b/nanofun.css @@ -1,4 +1,6 @@ -body { +html, body { + padding: 0; + margin: 0; font-family: sans-serif; font-size: 16px; } @@ -9,10 +11,11 @@ body { div.nanotouch { border: 1px dashed #333; + box-sizing: border-box; padding: 1.5rem; position: relative; - width: 7vw; - height: 7vw; + width: 10vw; + height: 10vw; margin: 1vw; display: inline-block; overflow: hidden; -- 2.39.2