Remove progress bar, loading chat message

This commit is contained in:
Niek van der Maas 2023-03-22 23:08:02 +01:00
parent e16b052d86
commit 76ea3137c8
2 changed files with 14 additions and 1 deletions

View File

@ -109,3 +109,12 @@ $modal-background-background-color-dark: rgba($dark, 0.86) !default; // remove t
position: sticky;
top: 1rem;
}
/* Loading chat messages */
.is-loading {
opacity: 0.5;
@include loader;
width: 1.5rem;
height: 1.5rem;
border-width: 0.25em;
}

View File

@ -489,7 +489,11 @@
{/each}
{#if updating}
<progress class="progress is-small is-dark" max="100" />
<article class="message is-success assistant-message">
<div class="message-body content">
<span class="is-loading" />
</div>
</article>
{/if}
<form class="field has-addons has-addons-right is-align-items-flex-end" on:submit|preventDefault={() => submitForm()}>