From dd64484b24a7b853778423a84ab1af9ab7c7dff1 Mon Sep 17 00:00:00 2001 From: Arya Kiran Date: Fri, 30 Sep 2022 18:11:59 +0530 Subject: [PATCH] Make navbar more responsive (patch by @pranav) --- style.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/style.css b/style.css index e71b79d..2c081ad 100644 --- a/style.css +++ b/style.css @@ -14,8 +14,17 @@ header { justify-content:space-between; align-items:center; white-space:nowrap; + flex-wrap: wrap; } -nav {display:inline-block;} + +nav { + display: flex; + flex-direction: row; + flex-wrap: wrap; + justify-content: flex-end; + gap: 1rem; +} + nav li { display:inline-block no; margin-right:20px;