From ab196256889b69388f25c82211ffd48dfdabb03b Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Wed, 17 Apr 2024 22:44:21 +0200 Subject: [PATCH] nits --- frontend/src/lib/autosize.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = () => {