mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -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-if="reviewPanel.entries[doc.doc.id] | notEmpty"
|
||||||
ng-click="reviewPanel.overview.docsCollapsedState[doc.doc.id] = ! reviewPanel.overview.docsCollapsedState[doc.doc.id]"
|
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 }}
|
| {{ doc.path }}
|
||||||
span.rp-overview-file-num-entries(
|
span.rp-overview-file-num-entries(
|
||||||
ng-show="reviewPanel.overview.docsCollapsedState[doc.doc.id]"
|
ng-show="reviewPanel.overview.docsCollapsedState[doc.doc.id]"
|
||||||
) ({{ reviewPanel.entries[doc.doc.id] | numKeys }})
|
) ({{ 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(
|
.rp-overview-file-entries(
|
||||||
review-panel-collapse-height="reviewPanel.overview.docsCollapsedState[doc.doc.id]"
|
review-panel-collapse-height="reviewPanel.overview.docsCollapsedState[doc.doc.id]"
|
||||||
|
|
|
@ -578,13 +578,13 @@
|
||||||
}
|
}
|
||||||
.rp-overview-file-header-collapse {
|
.rp-overview-file-header-collapse {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
float: right;
|
float: left;
|
||||||
transform: rotateZ(0deg);
|
transform: rotateZ(0deg);
|
||||||
transition: transform 0.15s ease
|
transition: transform 0.15s ease
|
||||||
}
|
}
|
||||||
|
|
||||||
.rp-overview-file-header-collapse-on {
|
.rp-overview-file-header-collapse-on {
|
||||||
transform: rotateZ(180deg);
|
transform: rotateZ(90deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
.rp-overview-file-entries {
|
.rp-overview-file-entries {
|
||||||
|
|
Loading…
Reference in a new issue