fix placement of logo

This commit is contained in:
Keviin Åberg Kultalahti 2021-06-11 14:50:51 +02:00
parent d541e60243
commit ab2bcd7d6e
1 changed files with 4 additions and 7 deletions

View File

@ -30,7 +30,7 @@
<div class="nav">
<div class="logo">
{#if !hideLogo}
<img src={logoUrl} alt={title} height="48" />
<img src="https://i.imgur.com/Xhdt1YP.png" alt={title} height="48" />
{/if}
{#if !hideTitle}
<span>{title}</span>
@ -63,16 +63,12 @@
justify-content: space-between;
padding: var(--spacing-m);
}
.top,
.left {
grid-template-columns: 1fr;
}
.links {
grid-area: burger;
}
.logo {
display: grid;
place-items: center;
justify-items: center;
grid-area: logo;
}
.portal {
@ -82,7 +78,8 @@
}
@media (min-width: 600px) {
.nav {
.nav,
.logo {
display: initial;
}
.top {