I have made an even better example with a safeArea. In the above two examples the canvas stays always the same size, only the margin of the css changes.
In the example I posted here, the canvas will also scale.
I have made an even better example with a safeArea. In the above two examples the canvas stays always the same size, only the margin of the css changes.
In the example I posted here, the canvas will also scale.