forked from coracle/flotilla
Minor tweaks
This commit is contained in:
@@ -30,7 +30,7 @@
|
|||||||
<form class="column gap-4" on:submit|preventDefault={exit}>
|
<form class="column gap-4" on:submit|preventDefault={exit}>
|
||||||
<ModalHeader>
|
<ModalHeader>
|
||||||
<div slot="title">
|
<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>
|
</div>
|
||||||
</ModalHeader>
|
</ModalHeader>
|
||||||
<p class="text-center">Are you sure you want to leave?</p>
|
<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?`,
|
in a large amount of spam or other objectionable content. Continue?`,
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
confirm(url)
|
await confirm(url)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,8 @@
|
|||||||
<div
|
<div
|
||||||
role="alert"
|
role="alert"
|
||||||
class="alert flex justify-center"
|
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"}>
|
class:alert-error={theme === "error"}>
|
||||||
{$toast.message}
|
{$toast.message}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+1
-1
@@ -19,7 +19,7 @@ export const pushModal = (
|
|||||||
|
|
||||||
modals.set(id, {component, props, options})
|
modals.set(id, {component, props, options})
|
||||||
|
|
||||||
setTimeout(() => goto("#" + id))
|
goto("#" + id)
|
||||||
|
|
||||||
return id
|
return id
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user