fix(web): center active filters and compact mobile cards

This commit is contained in:
kairee committed 2026-10-31 23:50:19 +08:00
1 parent d18ebbfb2f
commit 60d7b0f24f
6 files changed
+25 -5

No files matched your search

+2 -1
View File
@@ -1,6 +1,6 @@
import { api, apiUrl } from "../api.js";
import {
chip, emptyState, pager, sectionHeader, upCard, videoCard,
centerActiveChips, chip, emptyState, pager, sectionHeader, upCard, videoCard,
} from "../components.js";
import { escapeAttr, escapeHtml, formatCount } from "../format.js";
import { replaceQuery } from "../router.js";
@@ -161,4 +161,5 @@ export async function renderRankings(root, { query }) {
if (button.disabled) return;
replaceQuery({ page: button.dataset.page });
}));
centerActiveChips(root);
}