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.

Revert "lightbox: Disallow flex-item behavior on img."

Tim Abbott344b6abce13e
diff --git a/web/styles/lightbox.css b/web/styles/lightbox.css
index cf222d990e5..806fb67bab7 100644
--- a/web/styles/lightbox.css
+++ b/web/styles/lightbox.css
@@ -20,10 +20,6 @@
& img {
cursor: move;
- /* Disallow flex behavior; we want to center this, but
- not have the image container grow beyond the bounds
- of the replaced media (the actual image.) */
- flex: 0 0 0;
max-height: 100%;
max-width: 100%;
object-fit: contain;