mirror of
https://github.com/LukeHagar/Sveltey.git
synced 2025-12-06 12:47:44 +00:00
adjusted theme switcher
This commit is contained in:
@@ -130,8 +130,9 @@
|
|||||||
|
|
||||||
{#if showDropdown}
|
{#if showDropdown}
|
||||||
<div
|
<div
|
||||||
class="card preset-outlined-primary-500 bg-surface-50-950 absolute right-0 sm:left-0 z-50 mt-2 w-24 sm:w-48 overflow-hidden rounded-lg shadow-lg"
|
class="card preset-outlined-primary-500 bg-surface-50-950 absolute right-0 md:left-0 z-50 mt-2 w-24 sm:w-48 h-128 overflow-hidden rounded-container shadow-lg"
|
||||||
>
|
>
|
||||||
|
<div class="flex flex-col gap-2 overflow-scroll h-full">
|
||||||
{#each colorThemes as theme}
|
{#each colorThemes as theme}
|
||||||
<button
|
<button
|
||||||
onclick={() => selectColorTheme(theme.value)}
|
onclick={() => selectColorTheme(theme.value)}
|
||||||
@@ -145,5 +146,6 @@
|
|||||||
</button>
|
</button>
|
||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user