guardian / frontend

The Guardian DotCom.
https://theguardian.com
Other
5.82k stars 556 forks source link

Use 375px width for mobile viewport in responsive viewer rather than 320px #27244

Closed cemms1 closed 2 weeks ago

cemms1 commented 2 weeks ago

What is the value of this and can you measure success?

Uses 375px width for the mobile viewport in the responsive viewer since this better represents the size of mobile devices nowadays. There are very few devices in use in 2024 with a 320px screen width. This should help editorial staff preview content in a way that best represents how the majority of users will see it.

Screenshots

Before After
before after

Checklist

github-actions[bot] commented 2 weeks ago

Deploy build 2181 of dotcom:frontend-all to CODE

All deployment options - [Deploy build 2181 of `dotcom:frontend-all` to CODE](https://riffraff.gutools.co.uk/deployment/deployAgain?project=dotcom%3Afrontend-all&build=2181&stage=CODE&updateStrategy=MostlyHarmless&action=deploy) - [Deploy parts of build 2181 to CODE by previewing it first](https://riffraff.gutools.co.uk/preview/yaml?project=dotcom%3Afrontend-all&build=2181&stage=CODE&updateStrategy=MostlyHarmless) - [What's on CODE right now?](https://riffraff.gutools.co.uk/deployment/history?projectName=dotcom%3Afrontend-all&stage=CODE)

From guardian/actions-riff-raff.

prout-bot commented 2 weeks ago

Seen on ADMIN-PROD (merged by @cemms1 12 minutes and 5 seconds ago)

prout-bot commented 2 weeks ago

Seen on FRONTS-PROD (merged by @cemms1 12 minutes and 11 seconds ago)