Followup/updates to my initial pr on #10. Now the popups adjust nicer based on if you are on landscape/mobile, and the popup does not overlap the map or buttons at all. The map also rotates and scales nicely with the window size and aspect ratio.
Also the need for a window event handler and all the functions it depends on were not needed anymore for FloorItem.vue, as there is a global variable for aspect ratio, so a watch was added for changes to the global reactive variable instead.
Followup/updates to my initial pr on #10. Now the popups adjust nicer based on if you are on landscape/mobile, and the popup does not overlap the map or buttons at all. The map also rotates and scales nicely with the window size and aspect ratio.
Also the need for a window event handler and all the functions it depends on were not needed anymore for FloorItem.vue, as there is a global variable for aspect ratio, so a watch was added for changes to the global reactive variable instead.