From 5fee25a260c57519358b72cb3920309ec301a847 Mon Sep 17 00:00:00 2001 From: Mykhailo Knysh <knih19@gmail.com> Date: Sat, 7 Dec 2024 18:28:11 +0100 Subject: [PATCH] add solution --- src/styles/index.scss | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/styles/index.scss b/src/styles/index.scss index 83dfdc6343..b84429109b 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -34,11 +34,6 @@ body { padding-right: 50px; } -a { - line-height: 60px; - position: relative; -} - .logo { display: flex; position: absolute; @@ -62,6 +57,8 @@ a { transition: color 0.3s; position: relative; line-height: 60px; + display: block; + height: 60px; } .nav { @@ -86,7 +83,7 @@ a { width: 100%; height: 4px; position: absolute; - bottom: -23px; + bottom: 0; left: 0; }