Make expand/collapse indicator consistent with the one used in filetree.

This commit is contained in:
Paulo Reis 2017-02-21 11:05:55 +00:00
parent 121b783b4a
commit 0b7863185c
2 changed files with 6 additions and 6 deletions

View file

@ -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]"

View file

@ -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 {