fixed space on mobile
This commit is contained in:
@@ -112,7 +112,7 @@ const hasContact = (siteConfig.contact_links?.length ?? 0) > 0;
|
|||||||
)}
|
)}
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<div class="flex flex-wrap items-center gap-3 justify-start md:justify-end md:ml-auto">
|
<div class="flex flex-wrap items-center gap-2 md:gap-3 justify-start md:justify-end md:ml-auto w-full md:w-auto">
|
||||||
{hasContact && (
|
{hasContact && (
|
||||||
<a
|
<a
|
||||||
href="/contact"
|
href="/contact"
|
||||||
@@ -121,14 +121,15 @@ const hasContact = (siteConfig.contact_links?.length ?? 0) > 0;
|
|||||||
)}
|
)}
|
||||||
<Search client:idle />
|
<Search client:idle />
|
||||||
{isAdmin && (
|
{isAdmin && (
|
||||||
<div class="flex items-center gap-1 pl-3 ml-1 border-l border-[var(--surface2)]/60">
|
<div class="flex items-center gap-1 ml-auto md:ml-1 md:pl-3 md:border-l md:border-[var(--surface2)]/60">
|
||||||
<a
|
<a
|
||||||
href="/admin"
|
href="/admin"
|
||||||
class="chip chip-accent uppercase"
|
class="chip chip-accent uppercase"
|
||||||
title="Signed in as artist"
|
title="Signed in as artist"
|
||||||
|
aria-label="Signed in as artist"
|
||||||
>
|
>
|
||||||
<span class="w-1.5 h-1.5 rounded-full bg-[var(--rosewater)] animate-pulse"></span>
|
<span class="w-1.5 h-1.5 rounded-full bg-[var(--rosewater)] animate-pulse"></span>
|
||||||
Artist
|
<span class="hidden sm:inline">Artist</span>
|
||||||
</a>
|
</a>
|
||||||
<LogoutButton client:idle />
|
<LogoutButton client:idle />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user