From ad65087d6b9e5aefab00096f371d5795dd2cfc9e Mon Sep 17 00:00:00 2001 From: crc Date: Thu, 21 Nov 2019 19:19:06 +0000 Subject: [PATCH] nga-js: scale canvas to output div width thanks to jmf FossilOrigin-Name: 6e905c31becbbb36d0ef87714623a04558364e4b64ca360fc6b789526268b2ee --- nga-js/style.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nga-js/style.css b/nga-js/style.css index 6ae6ea2..523d179 100644 --- a/nga-js/style.css +++ b/nga-js/style.css @@ -63,4 +63,6 @@ margin-left: 0.5em; } canvas { + width:100%; + height:auto; }