From 8fd4c17628f73cf49eb84de9695803d76b99ec8a Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Thu, 19 May 2016 21:17:17 +0200 Subject: UI: Scale the attachemnt thumbnails The attachements should be scaled inside the card, too. --- client/components/cards/attachments.styl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/components/cards') 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 -- cgit v1.2.3-1-g7c22