summaryrefslogtreecommitdiffstats
path: root/client/components/cards
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander.sulfrian@fu-berlin.de>2016-05-19 21:17:17 +0200
committerAlexander Sulfrian <alexander.sulfrian@fu-berlin.de>2016-05-19 21:19:43 +0200
commit8fd4c17628f73cf49eb84de9695803d76b99ec8a (patch)
treed761eac35e275ab0ce32efa34da793862f95f8d3 /client/components/cards
parenta6bcd5bd1c6e733e262a1afd77584c4f24c6b2ab (diff)
downloadwekan-8fd4c17628f73cf49eb84de9695803d76b99ec8a.tar.gz
wekan-8fd4c17628f73cf49eb84de9695803d76b99ec8a.tar.bz2
wekan-8fd4c17628f73cf49eb84de9695803d76b99ec8a.zip
UI: Scale the attachemnt thumbnails
The attachements should be scaled inside the card, too.
Diffstat (limited to 'client/components/cards')
-rw-r--r--client/components/cards/attachments.styl4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/components/cards/attachments.styl b/client/components/cards/attachments.styl
index ad28bb9d..df293d87 100644
--- a/client/components/cards/attachments.styl
+++ b/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