From 650d1d5f956811a79865d50ca45f0eb220a171fd Mon Sep 17 00:00:00 2001 From: Dmytro Stanchiev Date: Wed, 8 Apr 2026 09:19:59 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20fix:=20restore=20textarea=20plac?= =?UTF-8?q?eholder=20padding=20in=20ai-toolbar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replace px-0 py-0 override with px-3 py-1 so placeholder text is never flush against the edge. The ::placeholder pseudo-element inherits box padding from the textarea; zeroing it out removed all visual breathing room for the hint text. Also adds tests/textarea.test.ts that locks down this behaviour via class-string assertions on the resolved cn() output. --- src/components/ai-toolbar.tsx | 6 ++-- tests/textarea.test.ts | 55 +++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+), 3 deletions(-) create mode 100644 tests/textarea.test.ts diff --git a/src/components/ai-toolbar.tsx b/src/components/ai-toolbar.tsx index 91c5aed..eab5f58 100644 --- a/src/components/ai-toolbar.tsx +++ b/src/components/ai-toolbar.tsx @@ -87,9 +87,9 @@ export const AIToolbar = ({ AI Command -