I want to display my web project differently on mobile devices from pc. On a pc browser, I want to display a layout that is set in landscape mode, and on mobile, in a portrait mode.
I already figured out how to lock the project in either landscape mode or portrait mode, depending on the device.
My problem is though, that in the portrait mode, the project is still displayed in landscape mode, with black bars on top and bottom.
Is there maybe a way to change the viewport on runtime to match the portrait mode?
Changing the size settings in the layout did not seem to work.