itchio / itch.io

:bug: Public itch.io issues tracker and documentation - use support instead for private information!
https://itch.io/support
240 stars 27 forks source link

Option to use responsive viewport meta tag #473

Open 2HitAdam opened 8 years ago

2HitAdam commented 8 years ago

Hi guys,

I recently went to the effort of implementing responsive CSS on our profile view: https://2-hit-studio.itch.io/

Unfortunately the styles are never applied on actual mobile devices because of the viewport size. This can be solved by adding <meta name="viewport" content="width=device-width, initial-scale=1"> to the section of the page. Ref: https://developer.mozilla.org/en/docs/Mozilla/Mobile/Viewport_meta_tag

It can be problematic to add this to pages that don't have responsive CSS, but could we have the option? I show my games to people on my phone all the time, plus there's mobile twitter traffic, I would love to have a profile fit for mobile browsing.

Sidenote: if you ever want to make the leap to fully responsive profiles across the site, that's something I'd be eager to help with (front-end web dev is my bread and butter!)

Cheers, Adam

leafo commented 8 years ago

I'd like to add the viewport tag after updating all the profile pages to be responsive. I don't want to add exceptions to individual pages yet unless it ends up taking a while.

2HitAdam commented 8 years ago

I can appreciate that, thanks leafo. Glad to hear it's planned/being worked towards.