nga-js: scale canvas to output div width thanks to jmf

FossilOrigin-Name: 6e905c31becbbb36d0ef87714623a04558364e4b64ca360fc6b789526268b2ee
This commit is contained in:
crc 2019-11-21 19:19:06 +00:00
parent 171e925fc8
commit ad65087d6b

View file

@ -63,4 +63,6 @@
margin-left: 0.5em;
}
canvas {
width:100%;
height:auto;
}