Quellcode durchsuchen

UI: Scale the attachemnt thumbnails

The attachements should be scaled inside the card, too.
Alexander Sulfrian vor 9 Jahren
Ursprung
Commit
8fd4c17628
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      client/components/cards/attachments.styl

+ 2 - 2
client/components/cards/attachments.styl

@@ -32,8 +32,8 @@
       position: relative
 
       .attachment-thumbnail-img
-        height: 100%
-        width: 100%
+        max-height: 100%
+        max-width: 100%
 
       .attachment-thumbnail-ext
         text-transform: uppercase