💄 Fix some icons shrinking in block node

This commit is contained in:
Baptiste Arnaud 2025-09-09 14:21:52 +02:00
parent e6c7d6a4f9
commit 7dc8bfc528
No known key found for this signature in database
2 changed files with 6 additions and 2 deletions

View File

@ -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/)

View File

@ -20,7 +20,11 @@ export const TextInputNodeContent = ({ options }: Props) => {
options?.audioClip.saveVariableId;
return (
<Stack>
<Text color={"gray.500"} h={options?.isLong ? "100px" : "auto"}>
<Text
color={"gray.500"}
h={options?.isLong ? "100px" : undefined}
overflowY="hidden"
>
{options?.labels?.placeholder ??
defaultTextInputOptions.labels.placeholder}
</Text>