From: Marcel Werk Date: Thu, 27 Oct 2016 16:33:03 +0000 (+0200) Subject: Fixed thumbnail size in attachment list X-Git-Tag: 3.0.0_Beta_5~96 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=50898692bddf93dec1f6d638bd919e463090817a;p=GitHub%2FWoltLab%2FWCF.git Fixed thumbnail size in attachment list --- 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; } +