From 0b7863185c81cf887771ba015383fe8be7547677 Mon Sep 17 00:00:00 2001 From: Paulo Reis Date: Tue, 21 Feb 2017 11:05:55 +0000 Subject: [PATCH] Make expand/collapse indicator consistent with the one used in filetree. --- services/web/app/views/project/editor/review-panel.pug | 8 ++++---- .../web/public/stylesheets/app/editor/review-panel.less | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/services/web/app/views/project/editor/review-panel.pug b/services/web/app/views/project/editor/review-panel.pug index 16126dc03f..75b1b426c4 100644 --- a/services/web/app/views/project/editor/review-panel.pug +++ b/services/web/app/views/project/editor/review-panel.pug @@ -94,14 +94,14 @@ ng-if="reviewPanel.entries[doc.doc.id] | notEmpty" ng-click="reviewPanel.overview.docsCollapsedState[doc.doc.id] = ! reviewPanel.overview.docsCollapsedState[doc.doc.id]" ) + span.rp-overview-file-header-collapse( + ng-class="{ 'rp-overview-file-header-collapse-on': reviewPanel.overview.docsCollapsedState[doc.doc.id] }" + ) + i.fa.fa-angle-right | {{ doc.path }} span.rp-overview-file-num-entries( ng-show="reviewPanel.overview.docsCollapsedState[doc.doc.id]" )  ({{ reviewPanel.entries[doc.doc.id] | numKeys }}) - span.rp-overview-file-header-collapse( - ng-class="{ 'rp-overview-file-header-collapse-on': reviewPanel.overview.docsCollapsedState[doc.doc.id] }" - ) - i.fa.fa-angle-up .rp-overview-file-entries( review-panel-collapse-height="reviewPanel.overview.docsCollapsedState[doc.doc.id]" diff --git a/services/web/public/stylesheets/app/editor/review-panel.less b/services/web/public/stylesheets/app/editor/review-panel.less index 52e217a71d..e3f37bfc95 100644 --- a/services/web/public/stylesheets/app/editor/review-panel.less +++ b/services/web/public/stylesheets/app/editor/review-panel.less @@ -578,13 +578,13 @@ } .rp-overview-file-header-collapse { display: inline-block; - float: right; + float: left; transform: rotateZ(0deg); transition: transform 0.15s ease } .rp-overview-file-header-collapse-on { - transform: rotateZ(180deg); + transform: rotateZ(90deg); } .rp-overview-file-entries {