diff --git a/frontend/src/lib/autosize.ts b/frontend/src/lib/autosize.ts index 6a3a9b4107..4caf5acf23 100644 --- a/frontend/src/lib/autosize.ts +++ b/frontend/src/lib/autosize.ts @@ -44,7 +44,7 @@ export const action = (node) => { const setHeight = () => { node.style.height = '0px' - node.style.height = Math.max(node.scrollHeight ?? 0, 40) + 5 + 'px' + node.style.height = Math.max(node.scrollHeight ?? 0, 40) + 2 + 'px' } const addStyles = () => {