From 756f3cce83694487ec3270835a12ab3901bbaa2d Mon Sep 17 00:00:00 2001 From: Simon Date: Tue, 9 Sep 2025 21:57:41 -0400 Subject: [PATCH] fixed minor bug where nav was visible when shrinking window --- index.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index d4b01bf..f061365 100644 --- a/index.html +++ b/index.html @@ -195,15 +195,17 @@ background-color: #000; width: 100%; text-align: center; - transition: 0.3s; + transition: top 0.3s ease; box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05); padding: 2rem 0; gap: 1rem; z-index: -1; + font-size: 0rem; } nav.active { - top: 2rem; + top: 1.5rem; + font-size: 1rem; } /** hamburger animation */