diff --git a/frontend/src/AnalyticsView.vue b/frontend/src/AnalyticsView.vue index 504a5bb..8d885ad 100644 --- a/frontend/src/AnalyticsView.vue +++ b/frontend/src/AnalyticsView.vue @@ -26,6 +26,11 @@ import TrailLink from './TrailLink.vue' import VisitorCell from './VisitorCell.vue' import TransitionGraph from './TransitionGraph.vue' import VisitorCharts from './VisitorCharts.vue' +import { VIEW_W } from './analytics/chart.js' + +// Same centering margin as the charts, so the totals row's left edge +// aligns with the chart svg above the natural width. +const CHART_MARGIN = `max(0px, calc(50% - ${VIEW_W / 2}px))` const ABUSE_MAX_LINES = 5 @@ -148,7 +153,7 @@ const abuseRows = computed(() => formatAbuseRows(rangeData.value?.abuse || [], c

⚠️ {{ error }}

loading…