diff --git a/src/lib/components/chat/MessageInput.svelte b/src/lib/components/chat/MessageInput.svelte index 5f573820e7..57a2e195b0 100644 --- a/src/lib/components/chat/MessageInput.svelte +++ b/src/lib/components/chat/MessageInput.svelte @@ -1516,10 +1516,8 @@ chatInput?.focus(); }} > - + {#if $_user && (showToolsButton || (toggleFilters && toggleFilters.length > 0) || showWebSearchButton || showImageGenerationButton || showCodeInterpreterButton)} @@ -1653,9 +1651,12 @@ on:click|preventDefault={() => (codeInterpreterEnabled = !codeInterpreterEnabled)} type="button" - class="px-2 @xl:px-2.5 py-2 flex gap-1.5 items-center text-sm rounded-full transition-colors duration-300 focus:outline-hidden max-w-full overflow-hidden hover:bg-gray-50 dark:hover:bg-gray-800 {codeInterpreterEnabled + class="px-2 @xl:px-2.5 py-2 flex gap-1.5 items-center text-sm transition-colors duration-300 max-w-full overflow-hidden hover:bg-gray-50 dark:hover:bg-gray-800 {codeInterpreterEnabled ? ' text-sky-500 dark:text-sky-300 bg-sky-50 dark:bg-sky-200/5' - : 'bg-transparent text-gray-600 dark:text-gray-300 '}" + : 'bg-transparent text-gray-600 dark:text-gray-300 '} {($settings?.highContrastMode ?? + false) + ? 'm-1' + : 'focus:outline-hidden rounded-full'}" >