From b0eab6756d9622e35b83cb3f027aa995b6241208 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Mon, 25 Sep 2017 16:29:48 -0400 Subject: [PATCH] UX: Weird alignment issue on flags --- .../javascripts/admin/templates/components/flagged-post.hbs | 4 +++- app/assets/stylesheets/common/admin/flagging.scss | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/admin/templates/components/flagged-post.hbs b/app/assets/javascripts/admin/templates/components/flagged-post.hbs index 75150b5c20b..98ac4bf5e0b 100644 --- a/app/assets/javascripts/admin/templates/components/flagged-post.hbs +++ b/app/assets/javascripts/admin/templates/components/flagged-post.hbs @@ -6,7 +6,9 @@ {{avatar flaggedPost.user imageSize="large"}} {{/link-to}} {{#if flaggedPost.wasEdited}} - {{d-icon "pencil" title="admin.flags.was_edited"}} +
+ {{d-icon "pencil" title="admin.flags.was_edited"}} +
{{/if}} {{/if}} {{/if}} diff --git a/app/assets/stylesheets/common/admin/flagging.scss b/app/assets/stylesheets/common/admin/flagging.scss index 1e57212cc9b..f16de2bd974 100644 --- a/app/assets/stylesheets/common/admin/flagging.scss +++ b/app/assets/stylesheets/common/admin/flagging.scss @@ -25,6 +25,11 @@ min-width: 45px; } + .edited-after { + text-align: center; + margin-top: 0.5em; + } + .previous-flagged-posts { position: absolute; right: -5px;