Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
Fix CSS in header.
Mike Cao3e8dd815b7c9
diff --git a/components/layout/Header.module.css b/components/layout/Header.module.cssindex 45df94ca3..4fbadd5e3 100644--- a/components/layout/Header.module.css+++ b/components/layout/Header.module.css@@ -6,6 +6,7 @@}.title {+ flex: 1;font-size: var(--font-size-large);display: flex;align-items: center;@@ -17,7 +18,7 @@}.links {- flex: 1;+ flex: 2;display: flex;justify-content: center;align-items: center;@@ -30,6 +31,7 @@}.buttons {+ flex: 1;display: flex;justify-content: flex-end;align-items: center;diff --git a/components/metrics/EventsChart.js b/components/metrics/EventsChart.jsindex 6b478b907..b44aa22da 100644--- a/components/metrics/EventsChart.js+++ b/components/metrics/EventsChart.js@@ -10,8 +10,7 @@ import useShareToken from 'hooks/useShareToken';import { EVENT_COLORS, TOKEN_HEADER } from 'lib/constants';export default function EventsChart({ websiteId, className, token }) {- const [dateRange] = useDateRange(websiteId);- const { startDate, endDate, unit, modified } = dateRange;+ const [{ startDate, endDate, unit, modified }] = useDateRange(websiteId);const [timezone] = useTimezone();const { query } = usePageQuery();const shareToken = useShareToken();diff --git a/components/pages/TestConsole.js b/components/pages/TestConsole.jsindex c4297acc6..ea1f0290e 100644--- a/components/pages/TestConsole.js+++ b/components/pages/TestConsole.js@@ -68,7 +68,7 @@ export default function TestConsole() {{show && (<div className={classNames(styles.test, 'row')}><div className="col-4">- <PageHeader>Page links</PageHeader>Nmo+ <PageHeader>Page links</PageHeader><div><Link href={`?page=1`}><a>page one</a>