Răsfoiți Sursa

Merge pull request #5095 from mfilser/attachments-display_images_full_width

Attachments, big images are now fully displayed
Lauri Ojansivu 1 an în urmă
părinte
comite
925099a1ee
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      client/components/cards/attachments.css

+ 1 - 0
client/components/cards/attachments.css

@@ -121,6 +121,7 @@
     repeating-conic-gradient(#808080 0% 25%, transparent 0% 50%)
     repeating-conic-gradient(#808080 0% 25%, transparent 0% 50%)
       50% / 20px 20px; /* Checkerboard background for transparent images */
       50% / 20px 20px; /* Checkerboard background for transparent images */
   max-width: 100%;
   max-width: 100%;
+  max-height: 100%;
 }
 }
 #pdf-viewer {
 #pdf-viewer {
   width: 40vw;
   width: 40vw;