Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
lightbox: Add query to hide media-description below 100px width.
Sourabh Patelaa5f2d3346c8
diff --git a/web/styles/lightbox.css b/web/styles/lightbox.cssindex 7f17c9a2205..c8093444ea2 100644--- a/web/styles/lightbox.css+++ b/web/styles/lightbox.css@@ -116,6 +116,8 @@}.media-description {+ container: media-description / inline-size;+flex: 1;/* setting min-width to an absolute value will makesure the text gets truncated in case of overflow */@@ -231,4 +233,15 @@}}+/* hide media-description if it has width less than 100px */+@container media-description (max-width: 100px) {+ .media-description {+ .title {+ display: none;+ }+ .user {+ display: none;+ }+ }+}