From 6d2997800ebf5debe8360a8d0986f4dc6ed67e14 Mon Sep 17 00:00:00 2001 From: klemek Date: Sat, 7 Dec 2019 11:33:10 +0100 Subject: [PATCH] fixed canvas height --- index.html | 4 +++- style.css | 7 ++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index c61c1aa..9b1d5b9 100644 --- a/index.html +++ b/index.html @@ -104,7 +104,9 @@
- +
+ +

@Klemek - Github diff --git a/style.css b/style.css index 82e0470..4a46ff5 100644 --- a/style.css +++ b/style.css @@ -75,10 +75,15 @@ td[colspan="5"] { text-align: center; } +#canvas-container{ + height:20rem; + width:100%; +} + canvas { display: block; margin: auto; - height: 20rem; + height: 100%; } @media only screen and (min-width: 768px) {