This commit is contained in:
Timothy Jaeryang Baek
2026-07-16 02:27:59 -04:00
parent f8d78289a6
commit 8270aa59ab
+3 -12
View File
@@ -87,6 +87,7 @@
import Wrench from '../icons/Wrench.svelte';
import Cube from '../icons/Cube.svelte';
import Sparkles from '../icons/Sparkles.svelte';
import Mic from '../icons/Mic.svelte';
import InputVariablesModal from './MessageInput/InputVariablesModal.svelte';
import Voice from '../icons/Voice.svelte';
@@ -2178,7 +2179,7 @@
<Tooltip content={$i18n.t('Dictate')}>
<button
id="voice-input-button"
class=" text-gray-600 dark:text-gray-300 hover:text-gray-700 dark:hover:text-gray-200 transition rounded-full p-[5px] self-center mr-0.5"
class=" text-gray-600 dark:text-gray-300 hover:text-gray-700 dark:hover:text-gray-200 transition rounded-full p-1.5 self-center mr-0.5"
type="button"
on:click={async () => {
try {
@@ -2208,17 +2209,7 @@
}}
aria-label="Voice Input"
>
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 20"
fill="currentColor"
class="size-5 translate-y-[0.5px]"
>
<path d="M7 4a3 3 0 016 0v6a3 3 0 11-6 0V4z" />
<path
d="M5.5 9.643a.75.75 0 00-1.5 0V10c0 3.06 2.29 5.585 5.25 5.954V17.5h-1.5a.75.75 0 000 1.5h4.5a.75.75 0 000-1.5h-1.5v-1.546A6.001 6.001 0 0016 10v-.357a.75.75 0 00-1.5 0V10a4.5 4.5 0 01-9 0v-.357z"
/>
</svg>
<Mic className="size-[18px]" />
</button>
</Tooltip>
{/if}