From 7dc8bfc5280578635f79bc69c6265eac5deb049d Mon Sep 17 00:00:00 2001 From: Baptiste Arnaud Date: Tue, 9 Sep 2025 14:21:52 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Fix=20some=20icons=20shrinking?= =?UTF-8?q?=20in=20block=20node?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/builder/src/components/icons.tsx | 2 +- .../inputs/textInput/components/TextInputNodeContent.tsx | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/builder/src/components/icons.tsx b/apps/builder/src/components/icons.tsx index 8e76789e6..908dcf2d8 100644 --- a/apps/builder/src/components/icons.tsx +++ b/apps/builder/src/components/icons.tsx @@ -10,7 +10,7 @@ export const featherIconsBaseProps: IconProps = { }; export const svgBaseClassName = - "stroke-[currentColor] size-4 stroke-2 fill-none"; + "stroke-[currentColor] size-4 stroke-2 fill-none flex-shrink-0"; // 99% of these icons are from Feather icons (https://feathericons.com/) diff --git a/apps/builder/src/features/blocks/inputs/textInput/components/TextInputNodeContent.tsx b/apps/builder/src/features/blocks/inputs/textInput/components/TextInputNodeContent.tsx index 3ff9f1e90..5bb5b8cfa 100644 --- a/apps/builder/src/features/blocks/inputs/textInput/components/TextInputNodeContent.tsx +++ b/apps/builder/src/features/blocks/inputs/textInput/components/TextInputNodeContent.tsx @@ -20,7 +20,11 @@ export const TextInputNodeContent = ({ options }: Props) => { options?.audioClip.saveVariableId; return ( - + {options?.labels?.placeholder ?? defaultTextInputOptions.labels.placeholder}