From 0c580a5e7f523666fec6e37f02e0f72445e3663c Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Wed, 9 Oct 2013 16:12:46 +0200 Subject: [PATCH] Small style optimization --- com.woltlab.wcf/templates/attachments.tpl | 2 +- wcfsetup/install/files/style/attachment.less | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) 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; -- 2.20.1