Within the body
element, I have a component called app
.
Even though the app
element is set to have a width of 100%
, when I check the page using the iPhone 6 emulator in Chrome, I notice that the app
component extends beyond the viewport, causing an overflow.
At a width of 38%
, all of the element fits within the viewport.
It's important to note that with a width of 100%
, the right edge of the inputs is not visible:
https://i.sstatic.net/Oeqqd.png
But at a width of 38%
, the inputs are fully visible:
https://i.sstatic.net/ULcTu.png
One of the meta tags in my HTML file is as follows:
<meta name="viewport" content="width=device-width, initial-scale=1">