From 73881396d186ff5e07abdb26de1da472125ae092 Mon Sep 17 00:00:00 2001 From: Nicolas Varrot Date: Thu, 12 Feb 2026 23:11:25 +0000 Subject: [PATCH] fix: hide textarea scrollbar when content doesn't overflow Set overflow-y: auto on textarea so the vertical scrollbar only appears when content exceeds max-height. Fixes #43. --- src/index.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.css b/src/index.css index 145dc14..75a190d 100644 --- a/src/index.css +++ b/src/index.css @@ -46,6 +46,7 @@ textarea::-webkit-scrollbar-thumb:hover { textarea { overflow-x: hidden; + overflow-y: auto; overflow-wrap: break-word; word-break: break-word; }