Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

thumbnails: Add minimal flexbox definition.

Karl Stolleybcddd71cca69
diff --git a/web/styles/rendered_markdown.css b/web/styles/rendered_markdown.css
index 47452f98794..daf62e02628 100644
--- a/web/styles/rendered_markdown.css
+++ b/web/styles/rendered_markdown.css
@@ -414,18 +414,20 @@
}
/* embedded link previews */
+ .message-thumbnail-gallery {
+ display: flex;
+ flex-flow: row wrap;
+ place-items: center center;
+ gap: 5px;
+ margin-bottom: var(--markdown-interelement-space-px);
+ }
+
.message_inline_image_title {
font-weight: bold;
}
.twitter-image,
.message_inline_image {
- display: inline-block;
- vertical-align: middle;
-
- margin-bottom: var(--markdown-interelement-space-px);
- margin-right: 5px;
-
/* Set a background for the image; the background will be visible
behind the width of the transparent border. */
border: solid 3px transparent;