Fixed thumbnail size in attachment list
authorMarcel Werk <burntime@woltlab.com>
Thu, 27 Oct 2016 16:33:03 +0000 (18:33 +0200)
committerMarcel Werk <burntime@woltlab.com>
Thu, 27 Oct 2016 16:33:03 +0000 (18:33 +0200)
wcfsetup/install/files/acp/templates/attachmentList.tpl
wcfsetup/install/files/style/ui/attachment.scss

index dace1e5c9ce893b0b028e1ddd5af64b2ca9f6fe6..a25d5f6a16d69429bf88a510b3cf54e31a05bed6 100644 (file)
                                                </td>
                                                <td class="columnID columnAttachmentID">{@$attachment->attachmentID}</td>
                                                <td class="columnTitle columnFilename">
-                                                       <div class="box48">
+                                                       <div class="box64">
                                                                <a href="{link controller='Attachment' id=$attachment->attachmentID}{/link}"{if $attachment->isImage} class="jsImageViewer" title="{$attachment->filename}"{/if}>
                                                                        {if $attachment->tinyThumbnailType}
                                                                                <img src="{link controller='Attachment' id=$attachment->attachmentID}tiny=1{/link}" class="attachmentTinyThumbnail" alt="">
                                                                        {else}
-                                                                               <span class="icon icon48 fa-paperclip"></span>
+                                                                               <span class="icon icon64 fa-paperclip"></span>
                                                                        {/if}
                                                                </a>
                                                                
index b4f5f4ce35a26d74eb2cb7d44942225517dec537..d29e5e1e6642b22792587cf6ccc1d43084b87b38 100644 (file)
                        
                        > .attachmentTinyThumbnail {
                                border-bottom-width: 0;
-                               max-height: 64px;
-                               max-width: 64px;
                        }
                }
        }
        }
 }
 
+.attachmentTinyThumbnail {
+       max-height: 64px;
+       max-width: 64px;
+}
+
 /* embedded images */
 .embeddedAttachmentLink img {
        border: 1px solid $wcfContentBorderInner;
        padding: 2px;
 }
+