From 50898692bddf93dec1f6d638bd919e463090817a Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Thu, 27 Oct 2016 18:33:03 +0200 Subject: [PATCH] Fixed thumbnail size in attachment list --- wcfsetup/install/files/acp/templates/attachmentList.tpl | 4 ++-- wcfsetup/install/files/style/ui/attachment.scss | 8 ++++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/attachmentList.tpl b/wcfsetup/install/files/acp/templates/attachmentList.tpl index dace1e5c9c..a25d5f6a16 100644 --- a/wcfsetup/install/files/acp/templates/attachmentList.tpl +++ b/wcfsetup/install/files/acp/templates/attachmentList.tpl @@ -106,12 +106,12 @@ {@$attachment->attachmentID} -
+
isImage} class="jsImageViewer" title="{$attachment->filename}"{/if}> {if $attachment->tinyThumbnailType} {else} - + {/if} diff --git a/wcfsetup/install/files/style/ui/attachment.scss b/wcfsetup/install/files/style/ui/attachment.scss index b4f5f4ce35..d29e5e1e66 100644 --- a/wcfsetup/install/files/style/ui/attachment.scss +++ b/wcfsetup/install/files/style/ui/attachment.scss @@ -127,8 +127,6 @@ > .attachmentTinyThumbnail { border-bottom-width: 0; - max-height: 64px; - max-width: 64px; } } } @@ -171,8 +169,14 @@ } } +.attachmentTinyThumbnail { + max-height: 64px; + max-width: 64px; +} + /* embedded images */ .embeddedAttachmentLink img { border: 1px solid $wcfContentBorderInner; padding: 2px; } + -- 2.20.1