Skip to content

Fix broken emails due to big images

  1. Add properties table-layout: fixed; width: 100%; to all table elements.

  2. Add properties max-width: 100%; height: unset; to all img elements coming in the message_body. Check BeautifulSoup and this example https://stackoverflow.com/questions/48111052/beautifulsoup-change-specific-style-attribut/53635461

Details:

Example: https://notifications.web.cern.ch/channels/3850aad0-a252-4f81-a922-02377c87eeee/notifications/4e4407be-eece-434a-8708-7920e8dde80d How it looks:


How it should look:

Edited by Carina Antunes