From 7fbc50596a71e5b137c60b1ad7562dcd3240777f Mon Sep 17 00:00:00 2001 From: RemRem Date: Thu, 2 Feb 2023 11:46:57 +0100 Subject: [PATCH] nav-bar item take all available space --- styles/index.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/styles/index.css b/styles/index.css index 460abfe..6e5be25 100644 --- a/styles/index.css +++ b/styles/index.css @@ -8,8 +8,14 @@ background-color: black; } +#nav-bar li { + display: flex; + flex-grow: 1; +} + #nav-bar li a { display: flex; + flex-grow: 1; justify-content: center; font-size: 2rem; font-weight: bold;