emails: Fix the issues with image width overflow.

Images in the follow-up day 2 email were overflowing the main email
layout. To prevent that, we created a separate class to handle this.

(cherry picked from commit 673e98e982)
This commit is contained in:
Daniil Fadeev
2023-08-07 21:20:48 +03:00
committed by Alex Vandiver
parent 62b1652b3a
commit 4c4ec78a3a

View File

@@ -52,6 +52,12 @@ table.layout > tbody > tr > td {
padding: 10px;
}
/* This class is used to ensure that the images' width
does not exceed the actual email layout width. */
img.responsive-width {
max-width: 100%;
}
/* Our newsletters/marketing emails use a wider content width, to
support more complex content with text to the side of images. */
.container.wide-container {