mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 07:15:25 -05:00
Make expand/collapse indicator consistent with the one used in filetree.
This commit is contained in:
parent
121b783b4a
commit
0b7863185c
2 changed files with 6 additions and 6 deletions
|
@ -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]"
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue