fix placement of logo
This commit is contained in:
parent
d541e60243
commit
ab2bcd7d6e
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue