Container ignores canvas width
Mikilll94 opened this issue · 1 comments
Mikilll94 commented
https://jsbin.com/kiveruqoxa/2/edit?html,js,output
As you can see I have set the canvas width and height to 100
. But the container
spans the entire width. Why? It should have the same width as canvas.
lavrton commented
width
defines canvas size.
If you want to have a container with the same size, just put display: inline-block
on it.