0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

Removed input auto-zoom for mobile

Adds meta tag for iframe head to control viewport in mobile devices
This commit is contained in:
Rishabh 2022-03-29 14:02:09 +05:30
parent 3ab9a67577
commit 83d0a90a93

View file

@ -252,7 +252,10 @@ export default class PopupModal extends React.Component {
}
` + FrameStyle;
return (
<>
<style dangerouslySetInnerHTML={{__html: styles}} />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
</>
);
}