opennic / opennic-web

Official OpenNIC Homepage
https://www.opennic.org/
46 stars 13 forks source link

Allow user-zooming on mobile #41

Closed jonaharagon closed 6 years ago

jonaharagon commented 6 years ago

Removes , maximum-scale=1.0, user-scalable=no from the viewport meta tag in the header. I'm not sure why this was included in the first place...

This addresses the first part of issue #38 and affects behavior on mobile browsers: prior to this commit, users were unable to two-finger zoom on the webpage. Note that nothing will change on Safari on iOS, as Apple has chosen to ignore this meta tag completely.

jonaharagon commented 6 years ago

Deploy preview for opennic ready!

Built with commit 4cf86d8bfeff4057add92e866c7e7eb261ae97db

https://deploy-preview-41--opennic.netlify.com

jonaharagon commented 6 years ago

Oh, maybe that was why it was added: I didn't know what was causing that random whitespace (since the crypto text was also white). Yeah merging this and #40 is definitely the more user-friendly solution, I'm pushing this change through.