Minor tweaks
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
in a large amount of spam or other objectionable content. Continue?`,
|
||||
})
|
||||
} else {
|
||||
confirm(url)
|
||||
await confirm(url)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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
@@ -19,7 +19,7 @@ export const pushModal = (
|
||||
|
||||
modals.set(id, {component, props, options})
|
||||
|
||||
setTimeout(() => goto("#" + id))
|
||||
goto("#" + id)
|
||||
|
||||
return id
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user