From 7974d311c8ad2252be39374f3b7b4d0d888c5cd9 Mon Sep 17 00:00:00 2001 From: Meir Roth <12494197+meirroth@users.noreply.github.com> Date: Sun, 3 Jan 2021 13:32:25 +0200 Subject: [PATCH] mobile header --- components/layout/Header.js | 6 +++--- components/layout/Header.module.css | 10 ++++------ 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/components/layout/Header.js b/components/layout/Header.js index cc8baae3..b0d59492 100644 --- a/components/layout/Header.js +++ b/components/layout/Header.js @@ -18,13 +18,13 @@ export default function Header() {
{user?.is_admin && }
-
+
} size="large" className={styles.logo} /> umami
-
+
{user && (
@@ -39,7 +39,7 @@ export default function Header() {
)}
-
+
diff --git a/components/layout/Header.module.css b/components/layout/Header.module.css index b7fdc62c..07e8939f 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; } }