From b5760c28da678faace8240732a566deeccb18b18 Mon Sep 17 00:00:00 2001 From: Notoric Date: Thu, 23 May 2024 04:10:18 +0100 Subject: [PATCH] Padding for nav on mobile --- styles/global.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/styles/global.css b/styles/global.css index a51aeea..42b1903 100644 --- a/styles/global.css +++ b/styles/global.css @@ -244,7 +244,7 @@ em { #navbar { flex-direction: column; - height: calc(100vh - 120px); + height: 100vh; width: 100vw; justify-content: space-between; position: absolute; @@ -252,7 +252,6 @@ em { font-size: 3em; margin: 0; border: 0; - padding-block: 60px; padding-inline: 0; transform: translateX(-100vw); transition: transform 0.5s ease; @@ -268,7 +267,6 @@ em { position: static; display: flex; flex-direction: column; - gap: 20px; transform: none; } @@ -334,4 +332,8 @@ em { body { font-size: 30px; } + + #navbar #links { + padding-bottom: 1em; + } } \ No newline at end of file