adjusted theme switcher

This commit is contained in:
Luke Hagar
2025-06-03 11:57:26 -05:00
parent 05ee2b62b7
commit 8d45e0f552

View File

@@ -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)}
@@ -144,6 +145,7 @@
{/if} {/if}
</button> </button>
{/each} {/each}
</div>
</div> </div>
{/if} {/if}
</div> </div>