Minor tweaks

This commit is contained in:
Jon Staab
2024-10-15 11:48:11 -07:00
parent 394766d080
commit 4e83e59249
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -30,7 +30,7 @@
<form class="column gap-4" on:submit|preventDefault={exit}>
<ModalHeader>
<div slot="title">
You are leaving <span class="text-primary">{displayRelayUrl(url)}</span>
You are leaving<br /><span class="text-primary">{displayRelayUrl(url)}</span>
</div>
</ModalHeader>
<p class="text-center">Are you sure you want to leave?</p>
+1 -1
View File
@@ -48,7 +48,7 @@
in a large amount of spam or other objectionable content. Continue?`,
})
} else {
confirm(url)
await confirm(url)
}
}
+2 -1
View File
@@ -10,7 +10,8 @@
<div
role="alert"
class="alert flex justify-center"
class:alert-info={theme === "info"}
class:bg-base-100={theme === "info"}
class:text-base-content={theme === "info"}
class:alert-error={theme === "error"}>
{$toast.message}
</div>
+1 -1
View File
@@ -19,7 +19,7 @@ export const pushModal = (
modals.set(id, {component, props, options})
setTimeout(() => goto("#" + id))
goto("#" + id)
return id
}