Fix title not being in-line

This commit is contained in:
Tobias Berger 2021-09-27 14:04:42 +02:00
parent 5c97a6303f
commit d246a94f42

View file

@ -47,7 +47,7 @@
<li><a on:click={onClick} href={"javascript:;"}>{name}</a></li>
{/each}
</ul>
{SharkGame.title}
<span>{SharkGame.title}</span>
<ul id="other-header-buttons">
{#each Object.entries(otherHeaderButtons) as [name, onClick]}
<li>
@ -62,6 +62,10 @@
<style lang="scss">
header {
display: inline-flex;
justify-content: space-between;
align-items: center;
width: 100%;
background-color: var(--color-dark);
text-shadow: 2px 2px 3px var(--color-darker);
@ -109,6 +113,12 @@
&#other-header-buttons {
float: right;
}
&:is(#main-header-buttons, #other-header-buttons)::after {
content: "";
clear: both;
display: table;
}
}
}
</style>