Explorar el Código

Merge pull request #5095 from mfilser/attachments-display_images_full_width

Attachments, big images are now fully displayed
Lauri Ojansivu hace 1 año
padre
commit
925099a1ee
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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%)
       50% / 20px 20px; /* Checkerboard background for transparent images */
   max-width: 100%;
+  max-height: 100%;
 }
 #pdf-viewer {
   width: 40vw;