fix: Use span instead of a in menu

This commit is contained in:
Sidharth Vinod
2021-09-17 19:08:23 +05:30
parent 91fe1911fb
commit b890622543
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -51,7 +51,7 @@
<ul tabindex="0" class="p-4 menu compact">
{#each themes as theme}
<li class={theme.includes($themeStore.theme) ? 'bordered' : ''}>
<a on:click={() => setTheme(theme)}>{theme}</a>
<span class="btn btn-ghost justify-start" on:click={() => setTheme(theme)}>{theme}</span>
</li>
{/each}
</ul>