here and there
This commit is contained in:
@@ -12,21 +12,10 @@
|
||||
</script>
|
||||
|
||||
{#if isVisible}
|
||||
<div
|
||||
transition:fly={{ duration: 500 }}
|
||||
class="lx-alert text-white bg-success border-1 border rounded px-3 py-0 text-center"
|
||||
role="alert"
|
||||
>
|
||||
{message}
|
||||
</div>
|
||||
<div class="notice notice-success" transition:fly={{ duration: 500 }} role="alert">
|
||||
<div class="title">Success</div>
|
||||
<div class="content"> {message}</div>
|
||||
</div>
|
||||
|
||||
{/if}
|
||||
|
||||
<style>
|
||||
.lx-alert {
|
||||
position: fixed;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
top: 45px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user