소스 검색

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;