It's impossible to be set on a type schema

This commit is contained in:
Eclypsed
2024-02-12 16:00:55 -05:00
parent 269d79327e
commit 8544f66397
5 changed files with 32 additions and 20 deletions

View File

@@ -23,7 +23,7 @@
{/if}
</div>
<div>
<div>{connection.service.username}</div>
<div>Username</div>
<div class="text-sm text-neutral-500">
{serviceData.displayName}
{#if 'serverName' in connection.service}
@@ -39,9 +39,9 @@
<form
use:enhance={submitFunction}
method="post"
class="absolute right-0 top-full flex flex-col items-center justify-center gap-3 rounded-md bg-neutral-900 p-2 text-xs"
class="absolute right-0 top-full flex flex-col items-center justify-center gap-1 rounded-md bg-neutral-900 p-2 text-xs"
>
<button formaction="?/deleteConnection" class="py-2 px-3 whitespace-nowrap hover:bg-neutral-800 rounded-md" on:click={() => showModal = false}>
<button formaction="?/deleteConnection" class="py-2 px-3 whitespace-nowrap hover:bg-neutral-800 rounded-md">
<i class="fa-solid fa-link-slash mr-1" />
Delete Connection
</button>