Skip to content

Commit 7dc8bfc

Browse files
committed
💄 Fix some icons shrinking in block node
1 parent e6c7d6a commit 7dc8bfc

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

apps/builder/src/components/icons.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const featherIconsBaseProps: IconProps = {
1010
};
1111

1212
export const svgBaseClassName =
13-
"stroke-[currentColor] size-4 stroke-2 fill-none";
13+
"stroke-[currentColor] size-4 stroke-2 fill-none flex-shrink-0";
1414

1515
// 99% of these icons are from Feather icons (https://feathericons.com/)
1616

apps/builder/src/features/blocks/inputs/textInput/components/TextInputNodeContent.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ export const TextInputNodeContent = ({ options }: Props) => {
2020
options?.audioClip.saveVariableId;
2121
return (
2222
<Stack>
23-
<Text color={"gray.500"} h={options?.isLong ? "100px" : "auto"}>
23+
<Text
24+
color={"gray.500"}
25+
h={options?.isLong ? "100px" : undefined}
26+
overflowY="hidden"
27+
>
2428
{options?.labels?.placeholder ??
2529
defaultTextInputOptions.labels.placeholder}
2630
</Text>

0 commit comments

Comments
 (0)