diff --git a/packages/ui/src/components/EditBox.svelte b/packages/ui/src/components/EditBox.svelte index 5613261bd1..d87a4dd337 100644 --- a/packages/ui/src/components/EditBox.svelte +++ b/packages/ui/src/components/EditBox.svelte @@ -32,7 +32,7 @@ const target = t as HTMLInputElement const value = target.value text.innerHTML = (value === '' ? placeholder : value).replaceAll(' ', ' ') - target.style.width = text.clientWidth + 6 + 'px' + target.style.width = text.clientWidth + 8 + 'px' } onMount(() => { @@ -58,16 +58,19 @@