show username

This commit is contained in:
Alexander Bocken 2023-07-21 12:43:30 +02:00
parent 0506ab9018
commit 6abc3e87f4
Signed by: Alexander
GPG Key ID: 1D237BE83F9B05E8

View File

@ -40,7 +40,7 @@
border-top: 0;
/* (C1-2) POSITION AT TOP */
top: -10px; left:87%;
top: -10px; left:84.5%;
margin-left: -20px;
}
@ -90,6 +90,9 @@
color: var(--red);
}
/* (B2) BOTTOM "CALLOUT TAIL" */
h2{
margin-block: 0;
}
@media screen and (max-width: 800px){
#options{
top: unset;
@ -116,7 +119,9 @@
{#if username}
<button on:click={show_options} style="background-image: url({src})">
<div id=options class="speech top" hidden>
<h2>{username}</h2>
<ul>
<!--<li><a href="/settings">Einstellungen</a></li>-->
<li><a href="/logout" >Log Out</a></li>
</ul>
</div>