here and there

This commit is contained in:
2024-08-17 21:10:01 +03:00
parent 36165444cf
commit ec15f21e67
18 changed files with 170 additions and 135 deletions
+5 -16
View File
@@ -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>