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.

message_edit_history: Better utilize empty space next to media.

Aman Agrawal71153535d6c9
diff --git a/web/styles/message_edit_history.css b/web/styles/message_edit_history.css
index 1972564863d..5da67f91875 100644
--- a/web/styles/message_edit_history.css
+++ b/web/styles/message_edit_history.css
@@ -83,4 +83,26 @@
);
}
}
+
+ /* Show `Link:` text of media beside it
+ to clarify click area for opening media
+ in new tab vs in lightbox. */
+ .highlight_text_inserted:has(.media-anchor-element .media-image-element),
+ .highlight_text_deleted:has(.media-anchor-element .media-image-element) {
+ > .media-anchor-element {
+ display: flex;
+ overflow-wrap: anywhere;
+
+ > .media-image-element {
+ flex-grow: 1;
+ flex-shrink: 0;
+ }
+ }
+
+ @media (width < $sm_min) {
+ > .media-anchor-element {
+ flex-direction: column;
+ }
+ }
+ }
}