no-shrink-to-fit

Automatically adds viewport meta attribute 'shrink-to-fit=no' to iOS devices with Safari greater than 9.0

Usage no npm install needed!

<script type="module">
  import noShrinkToFit from 'https://cdn.skypack.dev/no-shrink-to-fit';
</script>

README

No Shrink to Fit

Automatically adds viewport meta attribute shrink-to-fit=no to iOS devices with Safari >= 9.0.

See Viewport Changes for reference.

Usage

Download the minified library no-shrink-to-fit.min.js and and include it on your webpage.

<script src="js/no-shrink-to-fit.min.js"></script>

License

This repository is licensed under The MIT License (MIT).