From e84f6920b62c5700967a3f0eb0c1ab19d2d6c5cc Mon Sep 17 00:00:00 2001 From: Daniel Kluge Date: Thu, 27 Oct 2022 15:33:42 +0200 Subject: [PATCH] Logo relative, not absolute --- styles/Blog/Navigation.module.scss | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/styles/Blog/Navigation.module.scss b/styles/Blog/Navigation.module.scss index e28b4f7..3776174 100644 --- a/styles/Blog/Navigation.module.scss +++ b/styles/Blog/Navigation.module.scss @@ -22,12 +22,9 @@ .imgContainer { align-self: flex-start; margin-top: -10px; - position: absolute; + position: relative; cursor: pointer; display: none; - } - - .logo { height: calc(1em + 40px - 20px); width: calc((501 / 204) * (1em + 40px - 20px)); } @@ -70,7 +67,7 @@ display: block; } .navLink:nth-of-type(1) { - margin-left: calc((501 / 204) * (1em + 40px - 20px) + 15px); + margin-left: 15px; /*calc((501 / 204) * (1em + 40px - 20px) + 15px);*/ } }