fix padding on theme toggler

This commit is contained in:
Akis 2022-09-29 14:17:40 +03:00
parent e2517f3f1f
commit af11ef4c80
Signed by untrusted user: akis
GPG Key ID: 267BF5C6677944ED

View File

@ -15,7 +15,7 @@
<DarkMode bind:theme /> <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"}" /> <div class="i-fa6-solid:{theme === "dark" ? "sun" : "moon"}" />
<span class="ml-1 sm:hidden">Toggle theme</span> <span class="ml-1 sm:hidden">Toggle theme</span>
</button> </button>