From: Dylan William Hardison Date: Tue, 8 Jan 2019 15:08:21 +0000 (-0500) Subject: Bug 1518218 - The attachment icon is misplaced X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d8ad8bab267f5c86eca20377055c111e365df5ec;p=thirdparty%2Fbugzilla.git Bug 1518218 - The attachment icon is misplaced --- diff --git a/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl index 4aac9524d..a9da45f31 100644 --- a/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/activity_stream.html.tmpl @@ -276,7 +276,7 @@ [% IF comment.is_about_attachment && comment.attachment.is_image ~%] + class="lightbox lightbox-icon [%= "markdown" IF comment_tag == 'div' %]"> [% END %] [% END %] [%~ comment.body_full FILTER renderMarkdown(bug, comment) ~%] diff --git a/extensions/BugModal/web/bug_modal.css b/extensions/BugModal/web/bug_modal.css index c2354e17b..8fca30856 100644 --- a/extensions/BugModal/web/bug_modal.css +++ b/extensions/BugModal/web/bug_modal.css @@ -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;