Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
emails: Add CSS to support images placed on the side of a paragraph.
Aman Agrawaldff5e8ff6e2c
diff --git a/templates/zerver/emails/email.css b/templates/zerver/emails/email.cssindex 87742588f34..8eca102397b 100644--- a/templates/zerver/emails/email.css+++ b/templates/zerver/emails/email.css@@ -394,3 +394,17 @@ a.button:hover {text-decoration: none !important;}}++.float-right-image {+ float: right;+}++/* The 450px cutoff was determined by testing in Gmail as a point+ where an image looks good in either state. Logically it makes senes+ since then the text still has the majority of the space in the+ side-by-side view. */+@media only screen and (min-width: 450px) {+ .float-right-image {+ max-width: 200px;+ }+}