Logo relative, not absolute

This commit is contained in:
Daniel Kluge 2022-10-27 15:33:42 +02:00
parent 046b85d057
commit e84f6920b6

View File

@ -22,12 +22,9 @@
.imgContainer { .imgContainer {
align-self: flex-start; align-self: flex-start;
margin-top: -10px; margin-top: -10px;
position: absolute; position: relative;
cursor: pointer; cursor: pointer;
display: none; display: none;
}
.logo {
height: calc(1em + 40px - 20px); height: calc(1em + 40px - 20px);
width: calc((501 / 204) * (1em + 40px - 20px)); width: calc((501 / 204) * (1em + 40px - 20px));
} }
@ -70,7 +67,7 @@
display: block; display: block;
} }
.navLink:nth-of-type(1) { .navLink:nth-of-type(1) {
margin-left: calc((501 / 204) * (1em + 40px - 20px) + 15px); margin-left: 15px; /*calc((501 / 204) * (1em + 40px - 20px) + 15px);*/
} }
} }