When i click the input box the viewport changes size and the layout breaks using iphone and custom theme.
-
Can you elaborate more on your problems?PY Yick– PY Yick2021年09月13日 09:31:32 +00:00Commented Sep 13, 2021 at 9:31
1 Answer 1
You can try the Below "meta tag" in your xml file
app/design/frontend/{{YOUR THEME NAME HERE}}/default/Magento_Theme/layout/default.xml
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no"/>
Hope this will help you!
answered Sep 13, 2021 at 10:10
default