diff options
Diffstat (limited to 'client/components/cards/attachments.styl')
-rw-r--r-- | client/components/cards/attachments.styl | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/client/components/cards/attachments.styl b/client/components/cards/attachments.styl index f322ebc8..9a5d0645 100644 --- a/client/components/cards/attachments.styl +++ b/client/components/cards/attachments.styl @@ -20,6 +20,10 @@ display: flex align-items: center + a + display: block + margin: auto + .attachment-thumbnail height: 80px display: flex @@ -28,8 +32,8 @@ position: relative .attachment-thumbnail-img - height: 100% - width: 100% + max-height: 100% + max-width: 100% .attachment-thumbnail-ext text-transform: uppercase @@ -39,7 +43,7 @@ font-size: 0.75em margin: 3px - .attachment-details-actions + .attachment-details-actions a display: block .attachment-image-preview |