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:
parent
3ab9a67577
commit
83d0a90a93
1 changed files with 5 additions and 2 deletions
|
@ -252,7 +252,10 @@ export default class PopupModal extends React.Component {
|
||||||
}
|
}
|
||||||
` + FrameStyle;
|
` + FrameStyle;
|
||||||
return (
|
return (
|
||||||
|
<>
|
||||||
<style dangerouslySetInnerHTML={{__html: styles}} />
|
<style dangerouslySetInnerHTML={{__html: styles}} />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
|
||||||
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue