mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
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 |
||
---|---|---|
.. | ||
client@6670fc93d8 | ||
frontend | ||
server | ||
shared | ||
index.js |