瀏覽代碼

Merge pull request #5095 from mfilser/attachments-display_images_full_width

Attachments, big images are now fully displayed
Lauri Ojansivu 1 年之前
父節點
當前提交
925099a1ee
共有 1 個文件被更改,包括 1 次插入0 次删除
  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;