v0.5.86: place matches summary below the pager.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
voson
2026-07-29 18:44:49 +08:00
co-authored by Cursor
parent ef31e43d6c
commit ad7f5d0e1a
5 changed files with 16 additions and 10 deletions
+3 -3
View File
@@ -3864,15 +3864,15 @@ function renderMatchesPage() {
function buildMatchesFoot(summaryText, page, pageCount, onGo) {
const foot = document.createElement("div");
foot.className = "matches-foot";
if (pageCount > 1) {
foot.appendChild(buildMatchesPager(page, pageCount, onGo));
}
if (summaryText) {
const summary = document.createElement("p");
summary.className = "matches-foot-summary";
summary.textContent = summaryText;
foot.appendChild(summary);
}
if (pageCount > 1) {
foot.appendChild(buildMatchesPager(page, pageCount, onGo));
}
return foot;
}