From 4a648165d9f4e7c3520fb82b73e8acb6fa8bfe02 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Sat, 20 Jul 2024 15:42:02 +0800 Subject: [PATCH] Use padding to set navigation popover size --- src/_includes/global/navbar.njk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/_includes/global/navbar.njk b/src/_includes/global/navbar.njk index b5f522a6..33654d44 100644 --- a/src/_includes/global/navbar.njk +++ b/src/_includes/global/navbar.njk @@ -75,8 +75,7 @@ .navbar__popover { background-color: var(--clr-navbar-bg); border: 0.15em solid var(--clr-navbar-link); - padding: 1.5em; - width: 80%; + padding: 2em 3em; } .navbar__popover::backdrop {