ui/pager: restyle the note counter

This commit is contained in:
Adorian Doran 2026-02-16 20:48:51 +02:00
parent 6f0881ab8a
commit 3d41ce13b1
2 changed files with 10 additions and 1 deletions

View File

@ -34,4 +34,10 @@
opacity: .5;
}
}
.note-list-pager-total-count {
margin-inline-start: 8px;
opacity: .75;
white-space: nowrap;
}
}

View File

@ -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>
)
}