Auto-fix canvas to screen depending on screen size

When I am viewing my Cesium app on different sized monitors I am getting different button positions and everything is just generally in the wrong place because of a change in the screen size to the screen I am developing on.

Is there a way I can set my app to auto-fix itself to each screen so this issue doesn't occur?

Thanks.