From 17334de24a33ce1a5b2822c77d740e811c962a30 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Tue, 23 May 2023 10:58:33 +0800 Subject: [PATCH] Fix nav menu squeezed on Firefox --- src/components/nav-menu.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/components/nav-menu.css b/src/components/nav-menu.css index 933b0c5c..8b48791a 100644 --- a/src/components/nav-menu.css +++ b/src/components/nav-menu.css @@ -3,6 +3,7 @@ display: flex; width: auto; padding: 0; + min-width: 22em; } .nav-menu section { padding: 8px 0; @@ -41,3 +42,9 @@ white-space: normal; } } + +@media (min-width: 40em) { + .nav-menu { + width: 28em; + } +}