Using
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
in the section of <head>
your document to prevent the website from scaling on mobile devices. What matters here user-scalable=no
is what does the trick.
source
to share