From fc6730f5bf08a795da714c4185684dc8a24fc6f0 Mon Sep 17 00:00:00 2001 From: Paulo Reis Date: Mon, 21 Nov 2016 14:51:01 +0000 Subject: [PATCH 1/2] Lower brightness in smaller username text spans; limit avatar text to 1 char. --- services/web/app/views/project/editor/review-panel.jade | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/web/app/views/project/editor/review-panel.jade b/services/web/app/views/project/editor/review-panel.jade index c02a556532..3d2bc741f1 100644 --- a/services/web/app/views/project/editor/review-panel.jade +++ b/services/web/app/views/project/editor/review-panel.jade @@ -110,9 +110,9 @@ script(type='text/ng-template', id='changeEntryTemplate') i.fa.fa-pencil(ng-switch-when="insert") i.rp-icon-delete(ng-switch-when="delete") .rp-entry-metadata - p.rp-entry-metadata-line(style="color: hsl({{ user.hue }}, 70%, 50%);") {{ user.name }} + p.rp-entry-metadata-line(style="color: hsl({{ user.hue }}, 70%, 40%);") {{ user.name }} p.rp-entry-metadata-line {{ entry.metadata.ts | date : 'MMM d, y h:mm a' }} - .rp-avatar(style="background-color: hsl({{ user.hue }}, 70%, 50%);") {{ user.avatar_text }} + .rp-avatar(style="background-color: hsl({{ user.hue }}, 70%, 50%);") {{ user.avatar_text | limitTo : 1 }} .rp-entry-body(ng-switch="entry.type") span(ng-switch-when="insert") Added  ins.rp-content-highlight {{ entry.content }} @@ -145,7 +145,7 @@ script(type='text/ng-template', id='commentEntryTemplate') .rp-avatar( ng-if="!users[comment.user_id].isSelf;" style="background-color: hsl({{ users[comment.user_id].hue }}, 70%, 50%);" - ) {{ users[comment.user_id].avatar_text }} + ) {{ users[comment.user_id].avatar_text | limitTo : 1 }} .rp-comment-body(style="color: hsl({{ users[comment.user_id].hue }}, 70%, 90%);") p.rp-comment-content {{ comment.content }} p.rp-comment-metadata From 5158c6c16d2388588d6f5c86905732921bb37196 Mon Sep 17 00:00:00 2001 From: Paulo Reis Date: Mon, 21 Nov 2016 15:05:18 +0000 Subject: [PATCH 2/2] Fix padding in overview panel. --- services/web/public/stylesheets/app/editor/review-panel.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/services/web/public/stylesheets/app/editor/review-panel.less b/services/web/public/stylesheets/app/editor/review-panel.less index e72bd1ea0b..0375c11038 100644 --- a/services/web/public/stylesheets/app/editor/review-panel.less +++ b/services/web/public/stylesheets/app/editor/review-panel.less @@ -386,6 +386,10 @@ .rp-comment-resolved-description { padding: 5px; + + .rp-state-overview & { + padding: 0px; + } } .rp-add-comment-btn {