resize on window resize

This commit is contained in:
llama 2025-05-14 22:05:24 +08:00
parent 130c8dee14
commit 537aeed82f
No known key found for this signature in database
GPG key ID: 0B7543854B9413C3

View file

@ -36,6 +36,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
}
</script>
<svelte:window onresize={updateHeight} />
<textarea
bind:this={taRef}
value={stringValue}