fix(web): center active filters and compact mobile cards
This commit is contained in:
1 parent
d18ebbfb2f
commit
60d7b0f24f
6 files changed
+25
-5
No files matched your search
@@ -1,6 +1,7 @@
|
||||
import { api } from "../api.js";
|
||||
import {
|
||||
badge, cover, emptyState, metricChips, metricGrid, sectionHeader, videoCard,
|
||||
badge, centerActiveChips, cover, emptyState, metricChips, metricGrid,
|
||||
sectionHeader, videoCard,
|
||||
} from "../components.js";
|
||||
import { lineChart, emptyChart } from "../charts.js";
|
||||
import {
|
||||
@@ -110,6 +111,7 @@ export async function renderVideo(root, { params, query }) {
|
||||
root.querySelectorAll("[data-range]").forEach((button) => button.addEventListener("click", () => {
|
||||
replaceQuery({ range: button.dataset.range });
|
||||
}));
|
||||
centerActiveChips(root);
|
||||
|
||||
const chartElement = root.querySelector("#video-trend");
|
||||
if (chartElement) {
|
||||
|
||||
Reference in new issue
Block a user