fix: responsive buttons on dashboard wishlist lists on mobile
This commit is contained in:
@@ -19,7 +19,6 @@
|
|||||||
<Button
|
<Button
|
||||||
onclick={handleClick}
|
onclick={handleClick}
|
||||||
variant={unlocked ? "default" : "outline"}
|
variant={unlocked ? "default" : "outline"}
|
||||||
class="w-full md:w-auto"
|
|
||||||
>
|
>
|
||||||
{#if unlocked}
|
{#if unlocked}
|
||||||
<Lock class="mr-2 h-4 w-4" />
|
<Lock class="mr-2 h-4 w-4" />
|
||||||
|
|||||||
@@ -135,7 +135,7 @@
|
|||||||
emptyActionHref="/"
|
emptyActionHref="/"
|
||||||
>
|
>
|
||||||
{#snippet headerAction()}
|
{#snippet headerAction()}
|
||||||
<div class="flex gap-2 flex-wrap">
|
<div class="flex flex-col sm:flex-row gap-2">
|
||||||
<Button onclick={() => (window.location.href = '/')}>{t.dashboard.createNew}</Button>
|
<Button onclick={() => (window.location.href = '/')}>{t.dashboard.createNew}</Button>
|
||||||
<UnlockButton bind:unlocked={myWishlistsUnlocked} />
|
<UnlockButton bind:unlocked={myWishlistsUnlocked} />
|
||||||
</div>
|
</div>
|
||||||
@@ -225,7 +225,9 @@
|
|||||||
emptyDescription={t.dashboard.emptySavedWishlistsDescription}
|
emptyDescription={t.dashboard.emptySavedWishlistsDescription}
|
||||||
>
|
>
|
||||||
{#snippet headerAction()}
|
{#snippet headerAction()}
|
||||||
|
<div class="flex flex-col sm:flex-row gap-2">
|
||||||
<UnlockButton bind:unlocked={savedWishlistsUnlocked} />
|
<UnlockButton bind:unlocked={savedWishlistsUnlocked} />
|
||||||
|
</div>
|
||||||
{/snippet}
|
{/snippet}
|
||||||
|
|
||||||
{#snippet searchBar()}
|
{#snippet searchBar()}
|
||||||
|
|||||||
Reference in New Issue
Block a user