From: Marcel Werk Date: Wed, 9 Oct 2013 14:12:46 +0000 (+0200) Subject: Small style optimization X-Git-Tag: 2.0.0_Beta_11~47 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0c580a5e7f523666fec6e37f02e0f72445e3663c;p=GitHub%2FWoltLab%2FWCF.git Small style optimization --- diff --git a/com.woltlab.wcf/templates/attachments.tpl b/com.woltlab.wcf/templates/attachments.tpl index 7ab676e2ec..6d632f5f0f 100644 --- a/com.woltlab.wcf/templates/attachments.tpl +++ b/com.woltlab.wcf/templates/attachments.tpl @@ -10,7 +10,7 @@ {if $attachment->showAsImage() && !$attachment->isEmbedded()}
  • {if $attachment->hasThumbnail()} - canDownload()} class="jsImageViewer" title="{$attachment->filename}"{/if}> + canDownload()} class="jsImageViewer" title="{$attachment->filename}"{/if}> {else} {/if} diff --git a/wcfsetup/install/files/style/attachment.less b/wcfsetup/install/files/style/attachment.less index 6651342be8..92891bbcc8 100644 --- a/wcfsetup/install/files/style/attachment.less +++ b/wcfsetup/install/files/style/attachment.less @@ -41,11 +41,6 @@ min-height: ~"@{wcf_option_attachment_thumbnail_height}px"; min-width: ~"@{wcf_option_attachment_thumbnail_width}px"; position: relative; - text-align: center; - - > img { - margin-left: 0px !important; - } > a { display: inline-block;