#Vijaykrishnan
1 messages · Page 1 of 1 (latest)
Yeah, can you share the code?
Can you elaborate a bit? What are you seeing? What are you expecting to see?
this is a mobile view
i am using PaymentElement directly
it should be responsive to my viewport - but it is stretched
i dont have any additional css tagged
What OS version is that?
Grabbing a colleague who's a better mobile dev. Will circle back in a few
ok
are you sure you don't have the "Desktop site" toggle turned on in Chrome by accident perhaps?
can you share a link to that ngrok site so I can try out the page myself?
great!. you're forcing the width to 480px but the screen on your phone is not 480 wide; to be responsive you would never do things that way. Maybe you wanted to set the max-width property instead of the actual width, you should read through resources like https://web.dev/responsive-web-design-basics/
When developing a mobile site with a meta viewport tag, it's easy to accidentally create page content that doesn't quite fit within the specified viewport. For example, an image that is displayed at a width wider than the viewport can cause the viewport to scroll horizontally. You should adjust this content to fit within the width of the viewport, so that the user does not need to scroll horizontally.
thanks