0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/core
Kevin Ansfield 2404710e66 🐛 Fixed tiny font sizes sometimes seen in member emails on gmail mobile apps
refs https://github.com/TryGhost/Ghost/issues/11756

- fixed gmail scaling problems
  - the `width: 600px` on `.container` was forcing gmail to always render at 600px wide and then use scaling to resize the email to fit the device width
  - for most emails gmail would also apply their own font resizing to compensate so it didn't look _too_ bad
  - some emails however would not trigger the font resizing, most notably when posts contained a feature image, which would result in very small text
  - removing the fixed `width: 600px` resolves the scaling problem and lets the email be truly responsive
- removed attribute selectors in the media query CSS
  - gmail does not support attribute selectors
  - attribute selectors used to be necessary for Yahoo Mail but this is no longer the case
- tested using litmus.com for all popular email clients
2020-05-01 11:06:52 +01:00
..
client@6670fc93d8 Updated Ghost-Admin to v3.14.0 2020-04-27 13:27:51 +01:00
frontend Added a TODO for members access code 2020-04-30 13:03:27 +01:00
server 🐛 Fixed tiny font sizes sometimes seen in member emails on gmail mobile apps 2020-05-01 11:06:52 +01:00
shared Added Node environment to Sentry metadata 2020-04-28 08:50:16 +01:00
index.js Refactor common pattern in service files 2020-04-30 20:48:42 +01:00