Ghost/ghost/email-service
Sodbileg Gansukh 1a2fa55c1e Fixed product card image overflow in Gmail
no issues

- product card images have explicit width/height attributes, and when the width value is large (e.g. 2560), it causes an overflow on Gmail on Android
- the reason why there's no issue on other email clients is that Gmail on Android has autofit feature which makes the email width fit inside the screen automatically, and it made the email width very narrow when the product card image width isn't responsive
- this fix makes the product card image width responsive by explicitly setting it 100%
2023-08-23 22:02:54 +08:00
..
lib Fixed product card image overflow in Gmail 2023-08-23 22:02:54 +08:00
test 🎨 Added support for relative links in emails (#17630) 2023-08-08 13:22:56 +02:00
.eslintrc.js
index.js
package.json Update dependency html-validate to v8.3.0 2023-08-22 17:40:25 +01:00
README.md

Email Service

Manages how posts are sent via email

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests