From c89a354fb124b8dead129b256857e482a2017b71 Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Tue, 12 Aug 2014 23:52:43 -0700 Subject: [PATCH] clean up some flag page styles and alignment --- .../javascripts/admin/templates/flags.js.handlebars | 6 ++++-- app/assets/stylesheets/common/admin/admin_base.scss | 8 ++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/app/assets/javascripts/admin/templates/flags.js.handlebars b/app/assets/javascripts/admin/templates/flags.js.handlebars index 60cfcd45f38..785c702e8bb 100644 --- a/app/assets/javascripts/admin/templates/flags.js.handlebars +++ b/app/assets/javascripts/admin/templates/flags.js.handlebars @@ -51,7 +51,7 @@ {{#each flaggedPost.flaggers}} - + {{#link-to 'adminUser' user}} {{avatar user imageSize="small"}} {{/link-to}} @@ -76,10 +76,12 @@ {{#each flaggedPost.flaggers}} - + {{#link-to 'adminUser' disposedBy}} {{avatar disposedBy imageSize="small"}} {{/link-to}} + + {{age disposedAt}} {{{dispositionIcon}}} {{#if tookAction}} diff --git a/app/assets/stylesheets/common/admin/admin_base.scss b/app/assets/stylesheets/common/admin/admin_base.scss index dad09c247d7..0c539578e3e 100644 --- a/app/assets/stylesheets/common/admin/admin_base.scss +++ b/app/assets/stylesheets/common/admin/admin_base.scss @@ -495,8 +495,8 @@ section.details { .admin-flags { - .hidden-post td.excerpt { opacity: 0.5; } - .deleted td.excerpt { background-color: scale-color($danger, $lightness: 70%); } + .hidden-post td.excerpt, .hidden-post td.user { opacity: 0.5; } + .deleted td.excerpt, .deleted td.user { background-color: scale-color($danger, $lightness: 70%); } .message { background-color: scale-color($highlight, $lightness: 70%); } .message:hover { background-color: scale-color($highlight, $lightness: 30%); } td { vertical-align: top; } @@ -519,6 +519,9 @@ section.details { .flaggers { font-size: 11px; padding: 8px 0 0 5px; + .avatar { + width: 25px; + } table { max-width: 145px; } @@ -528,6 +531,7 @@ section.details { td { vertical-align: middle; padding: 3px; + line-height: 1.4; } } .action {