styling fix

This commit is contained in:
Jannik Streidl 2024-02-22 12:03:45 +01:00
parent 230f787da1
commit 56c4ee0fff

View file

@ -184,25 +184,24 @@
</button> </button>
</div> </div>
</div> </div>
</div> <div>
<div class=" py-0.5 flex w-full justify-between">
<div class=" self-center text-xs font-medium">Show "WhatsChanged" Modal on Startup</div>
<div> <button
<div class=" py-0.5 flex w-full justify-between"> class="p-1 px-3 text-xs flex rounded transition"
<div class=" self-center text-xs font-medium">Show "WhatsChanged" Modal on Startup</div> on:click={() => {
toggleenableWhatsChanged();
<button }}
class="p-1 px-3 text-xs flex rounded transition" type="button"
on:click={() => { >
toggleenableWhatsChanged(); {#if enableWhatsChanged === true}
}} <span class="ml-2 self-center">On</span>
type="button" {:else}
> <span class="ml-2 self-center">Off</span>
{#if enableWhatsChanged === true} {/if}
<span class="ml-2 self-center">On</span> </button>
{:else} </div>
<span class="ml-2 self-center">Off</span>
{/if}
</button>
</div> </div>
</div> </div>