Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
thumbnails: Express dimensions in rounded ems.
Karl Stolley313a04b4a90d
diff --git a/web/styles/rendered_markdown.css b/web/styles/rendered_markdown.cssindex 58b300f00e6..fd5bb34e24a 100644--- a/web/styles/rendered_markdown.css+++ b/web/styles/rendered_markdown.css@@ -421,7 +421,7 @@subtle).We prevent this by setting a fixed height for inline- previews. 100px is chosen because we don't want images to+ previews. 8em is chosen because we don't want images tooverwhelm conversation in message feeds, as it does in chattools that show images at half-screen height or larger.@@ -430,8 +430,8 @@that either use a scrollable region or set a fixed widthfor images so that the browser statically knows whetherit'll need to overflow. We choose fixed width here. */- height: 100px;- width: 150px;+ height: 8em;+ width: 12em;/* Inline image containers also need an inline-block display in orderto implement the desired grid layout. */