From f3d2431dfb71d2ebec62e1f7a991662e8ac0ce62 Mon Sep 17 00:00:00 2001 From: Harkamal Date: Wed, 15 Apr 2026 15:44:45 -0600 Subject: [PATCH] center navbar links (#311) --- web/app/globals.css | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/web/app/globals.css b/web/app/globals.css index ec01a40b..1b27a6bb 100644 --- a/web/app/globals.css +++ b/web/app/globals.css @@ -28,9 +28,9 @@ body { box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); z-index: 1000; padding: 0.5rem 2rem; - display: flex; + display: grid; + grid-template-columns: 1fr auto 1fr; align-items: center; - justify-content: space-between; min-height: 70px; /* border-radius: 0px 0px 10px 10px; */ } @@ -57,7 +57,6 @@ body { display: flex; align-items: center; gap: 1.25rem; - flex: 1; justify-content: center; } @@ -1022,15 +1021,11 @@ body { /* Auth/nav */ -.navbar { - justify-content: space-between; -} - .nav-auth { display: flex; align-items: center; gap: 0.5rem; - margin-left: auto; + justify-self: end; padding-left: 1.5rem; flex-shrink: 0; }