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
mobile header
Meir Roth7974d311c8ad
diff --git a/components/layout/Header.js b/components/layout/Header.jsindex cc8baae3f..b0d594924 100644--- a/components/layout/Header.js+++ b/components/layout/Header.js@@ -18,13 +18,13 @@ export default function Header() {<header className="container">{user?.is_admin && <UpdateNotice />}<div className={classNames(styles.header, 'row align-items-center')}>- <div className="col-12 col-md-12 col-lg-3">+ <div className="col-6 col-lg-3 order-1 order-lg-1"><div className={styles.title}><Icon icon={<Logo />} size="large" className={styles.logo} /><Link href={user ? '/' : 'https://umami.is'}>umami</Link></div></div>- <div className="col-12 col-md-12 col-lg-6">+ <div className="col-12 col-lg-6 order-3 order-lg-2">{user && (<div className={styles.nav}><Link href="/dashboard">@@ -39,7 +39,7 @@ export default function Header() {</div>)}</div>- <div className="col-12 col-md-12 col-lg-3">+ <div className="col-6 col-lg-3 order-2 order-lg-3"><div className={styles.buttons}><ThemeButton /><LanguageButton menuAlign="right" />diff --git a/components/layout/Header.module.css b/components/layout/Header.module.cssindex b7fdc62cd..07e8939ff 100644--- a/components/layout/Header.module.css+++ b/components/layout/Header.module.css@@ -33,17 +33,15 @@}@media only screen and (max-width: 992px) {- .title {- justify-content: center;- }-.nav {font-size: var(--font-size-large);justify-content: center;padding: 20px 0;}+}- .buttons {- justify-content: center;+@media only screen and (max-width: 576px) {+ .header {+ padding: 0 15px;}}