Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web app UI fixes #336

Merged
merged 2 commits into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions web/src/lib/components/Toast.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
class="pointer-events-none fixed right-0 top-12 z-30 bg-gradient-to-bl from-red-500/20 via-red-500/0 to-red-500/0 pb-36 pl-36 pr-2 pt-2 md:top-0 md:pr-8 md:pt-5"
>
<div
class="pointer-events-auto flex items-center rounded-full bg-white/90 px-3 py-1 shadow-sm dark:bg-gray-900/80"
class="pointer-events-auto flex items-center rounded-full bg-white/90 px-3 py-1 shadow-sm"
>
{#if ToastType.SUCCESS === toastType}
<CarbonCheck color="green" height="1.5em" width="1.5em" class="mx-2" />
Expand All @@ -27,6 +27,6 @@
{:else if ToastType.ERROR === toastType}
<CarbonError color="red" height="1.5em" width="1.5em" class="mx-2" />
{/if}
<h2 class="font-semibold mx-2 text-white">{message}</h2>
<h2 class="font-semibold mx-2">{message}</h2>
</div>
</div>
2 changes: 1 addition & 1 deletion web/src/lib/components/chat/ChatIntroduction.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
}

toastStore.set({
message: "Notification sent successfully",
message: "Notification will be sent successfully",
type: ToastType.SUCCESS,
});

Expand Down
2 changes: 1 addition & 1 deletion web/src/lib/components/chat/ChatWindow.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
}

toastStore.set({
message: "Notification sent successfully",
message: "Notification will be sent successfully",
type: ToastType.SUCCESS,
});

Expand Down
Loading