mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-23 07:12:04 +00:00
Show number of entries per file, when collapsed.
This commit is contained in:
parent
1e66c46ca7
commit
121b783b4a
2 changed files with 8 additions and 0 deletions
|
@ -95,6 +95,9 @@
|
|||
ng-click="reviewPanel.overview.docsCollapsedState[doc.doc.id] = ! reviewPanel.overview.docsCollapsedState[doc.doc.id]"
|
||||
)
|
||||
| {{ 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] }"
|
||||
)
|
||||
|
|
|
@ -571,6 +571,11 @@
|
|||
text-align: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.rp-overview-file-num-entries {
|
||||
font-weight: normal;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
.rp-overview-file-header-collapse {
|
||||
display: inline-block;
|
||||
float: right;
|
||||
|
|
Loading…
Reference in a new issue