Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
lightbox: Simplify media description styles for better responsiveness.
Sourabh Patelca1a25c99450
diff --git a/web/styles/lightbox.css b/web/styles/lightbox.cssindex 5037c86b5f9..135d11be061 100644--- a/web/styles/lightbox.css+++ b/web/styles/lightbox.css@@ -115,13 +115,10 @@}.media-description {- display: flex;- flex-direction: column;- max-width: calc(100% - 400px);- /* add some extra margin top and remove some bottom to keep the- height the same. and vertically center the text with the buttons. */- margin-top: 25px;- margin-bottom: 15px;+ flex: 1;+ /* setting min-width to an absolute value will make+ sure the text gets truncated in case of overflow */+ min-width: 0;font-size: 1.1rem;color: hsl(0deg 0% 100%);