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