mirror of
https://github.com/zadam/trilium.git
synced 2026-02-20 04:34:38 +01:00
ui/pager: restyle the note counter
This commit is contained in:
parent
6f0881ab8a
commit
3d41ce13b1
@ -34,4 +34,10 @@
|
||||
opacity: .5;
|
||||
}
|
||||
}
|
||||
|
||||
.note-list-pager-total-count {
|
||||
margin-inline-start: 8px;
|
||||
opacity: .75;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
@ -38,7 +38,10 @@ export function Pager({ page, pageSize, setPage, pageCount, totalNotes }: Omit<P
|
||||
text={t("pagination.next_page")}
|
||||
onClick={() => {setPage(page + 1)}}
|
||||
/>
|
||||
<span className="note-list-pager-total-count">({t("pagination.total_notes", { count: totalNotes })})</span>
|
||||
|
||||
<div className="note-list-pager-total-count">
|
||||
{t("pagination.total_notes", { count: totalNotes })}
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user