forked from ProjectSegfault/website
fix padding on theme toggler
This commit is contained in:
parent
e2517f3f1f
commit
af11ef4c80
@ -15,7 +15,7 @@
|
||||
|
||||
<DarkMode bind:theme />
|
||||
|
||||
<button on:click={toggle} class="cursor-pointer flex items-center py-1 bg-transparent border-0 font-[var(--font-primary)]">
|
||||
<button on:click={toggle} class="cursor-pointer flex items-center py-1 px-0 bg-transparent border-0 font-[var(--font-primary)]">
|
||||
<div class="i-fa6-solid:{theme === "dark" ? "sun" : "moon"}" />
|
||||
<span class="ml-1 sm:hidden">Toggle theme</span>
|
||||
</button>
|
Loading…
Reference in New Issue
Block a user