change div to h1, because it is the main header in the modal

This commit is contained in:
Sine Jespersen 2025-06-12 14:34:26 +02:00
parent c27d8a4a28
commit 2b276583c3

View File

@ -194,13 +194,13 @@
<Modal size="sm" bind:show> <Modal size="sm" bind:show>
<div> <div>
<div class=" flex justify-between dark:text-gray-100 px-5 pt-4 pb-1.5"> <div class=" flex justify-between dark:text-gray-100 px-5 pt-4 pb-1.5">
<div class=" text-lg font-medium self-center font-primary"> <h1 class="text-lg font-medium self-center font-primary">
{#if edit} {#if edit}
{$i18n.t('Edit Connection')} {$i18n.t('Edit Connection')}
{:else} {:else}
{$i18n.t('Add Connection')} {$i18n.t('Add Connection')}
{/if} {/if}
</div> </h1>
<button <button
class="self-center" class="self-center"
on:click={() => { on:click={() => {