From 0eeacbe5f7f623e4be2aec58803f805deb63546a Mon Sep 17 00:00:00 2001 From: Matthias Betz <matthias.betz@hft-stuttgart.de> Date: Thu, 20 Jun 2024 10:11:37 +0200 Subject: [PATCH] changing size to be relative to viewport --- public/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/index.html b/public/index.html index adc6428..8fa316e 100644 --- a/public/index.html +++ b/public/index.html @@ -36,8 +36,8 @@ <style> canvas { - width: 100%; - height: 100%; + width: 100vw; + height: 90vh; padding-left: 0; padding-right: 0; margin-top: 20px; -- GitLab