From 5640d09dab54fb302728d868cb536186d2f55125 Mon Sep 17 00:00:00 2001 From: sageTheDM Date: Tue, 8 Oct 2024 14:41:14 +0200 Subject: [PATCH] css tweak --- app/styles/header.css | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/styles/header.css b/app/styles/header.css index cf54b1b..ff5baf3 100644 --- a/app/styles/header.css +++ b/app/styles/header.css @@ -46,8 +46,10 @@ header { background-color: var(--burger-menu-background-color); width: 100%; flex-direction: column; - align-items: flex-start; - padding: 10px; + align-items: center; + justify-content: center; + padding: 10px auto; + margin: auto; } .nav-links.active { @@ -61,11 +63,11 @@ header { font-size: 0.9em; height: 50px; /* Consistent height */ border-radius: 5px; - padding: 10px; + padding: 10px auto; font-family: var(--font-family); width: 100%; /* Full width */ text-align: center; /* Center text */ - margin: 4px; + margin: 4px auto; } .nav-btn:hover {