]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1518218 - The attachment icon is misplaced
authorDylan William Hardison <dylan@hardison.net>
Tue, 8 Jan 2019 15:08:21 +0000 (10:08 -0500)
committerGitHub <noreply@github.com>
Tue, 8 Jan 2019 15:08:21 +0000 (10:08 -0500)
extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl
extensions/BugModal/web/bug_modal.css

index 4aac9524d959c365ac62621ae0a7caedb782f11b..a9da45f3196db890d2811b14f059b565f9d438a3 100644 (file)
     [% IF comment.is_about_attachment && comment.attachment.is_image ~%]
       <a href="attachment.cgi?id=[% comment.attachment.id FILTER none %]"
         title="[% comment.attachment.description FILTER html %]"
-        class="lightbox"><img src="extensions/BugModal/web/image.png" width="16" height="16"></a>
+        class="lightbox lightbox-icon [%= "markdown" IF comment_tag == 'div' %]"><img src="extensions/BugModal/web/image.png" width="16" height="16"></a>
     [% END %]
   [% END %]
   [%~ comment.body_full FILTER renderMarkdown(bug, comment) ~%]</[% comment_tag FILTER none %]>
index c2354e17bcb9c31f98ff1964be2b90b41c617289..8fca30856e1de3c9ec95767bbe24d37150109ee0 100644 (file)
@@ -991,6 +991,10 @@ div.ui-tooltip {
     vertical-align: sub;
 }
 
+a.lightbox-icon.markdown {
+    display: none;
+}
+
 #lb_img {
     background-color: #fff;
     border: 1px solid #666;