This commit is contained in:
Timothy Jaeryang Baek
2026-07-27 01:19:34 -04:00
parent 6379d37863
commit 89caa7c849
11 changed files with 32 additions and 1 deletions
@@ -722,6 +722,7 @@
class=" absolute -top-12 left-0 right-0 flex justify-center z-30 pointer-events-none"
>
<button
aria-label={$i18n.t('Scroll to bottom')}
class=" bg-white border border-gray-100 dark:border-none dark:bg-white/20 p-1.5 rounded-full pointer-events-auto"
on:click={() => {
scrollEnd = true;
@@ -851,6 +852,7 @@
<button
class=" bg-white text-black border border-white rounded-full group-hover:visible invisible transition"
type="button"
aria-label={$i18n.t('Remove file')}
on:click={() => {
files.splice(fileIdx, 1);
files = files;
@@ -1067,6 +1069,7 @@
<div class=" flex items-center">
<Tooltip content={$i18n.t('Stop')}>
<button
aria-label={$i18n.t('Stop')}
class="bg-white hover:bg-gray-100 text-gray-800 dark:bg-gray-700 dark:text-white dark:hover:bg-gray-800 transition rounded-full p-[5px]"
on:click={() => {
onStop();
@@ -1092,6 +1095,7 @@
<Tooltip content={$i18n.t('Send message')}>
<button
id="send-message-button"
aria-label={$i18n.t('Send message')}
class="{content !== '' || files.length !== 0
? 'bg-black text-white hover:bg-gray-900 dark:bg-white dark:text-black dark:hover:bg-gray-100 '
: 'text-white bg-gray-200 dark:text-gray-900 dark:bg-gray-700 disabled'} transition rounded-full p-[5px] self-center"