A user reported a misalignment issue with the login/signup modal, particularly when using longer text in non-English languages like Hungarian. The issue was linked to a recent commit and demonstrated across desktop and mobile views, with overflow and layout problems. chapoi acknowledged the issue and provided a PR to fix it, addressing full-width text, hiding blue areas on mobile, and enabling scrolling within the modal. Don appreciated the fix but raised concerns about mobile view behavior on desktop, noting inconsistencies when using ?mobile_view=1 versus device emulation. chapoi clarified that the issue is not expected to work perfectly on desktop and suggested opening a new topic for further discussion.
I am not sure why is not expected to work nicely on desktop (mobile-view) and mobile (desktop-view). This is a little bit edge case I know, but on desktop (mobile-view) would be nice if for no other reason, but at least for dev purpose. If we switch to mobile view then we should see almost the same like on a mobile device without simulate it on virtual device.
On the mobile (desktop-view) now overflows the modal content. This is also an edge case but sometimes Discourse detects wrongly the mobile devices browser so it drop them to desktop-view.
I have no immediate answer or solution for it unfortunately. And since this is something that transcends this particular topic, I’d recommend opening a dedicated topic if you feel strongly about it.