Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

fix: fix the tip for ellipsis (#5027)

Oleg Isonen9486d266a25f
diff --git a/apps/builder/app/builder/features/style-panel/sections/typography/typography.tsx b/apps/builder/app/builder/features/style-panel/sections/typography/typography.tsx
index e3a4fbb8c3..0e68c2c876 100644
--- a/apps/builder/app/builder/features/style-panel/sections/typography/typography.tsx
+++ b/apps/builder/app/builder/features/style-panel/sections/typography/typography.tsx
@@ -289,19 +289,19 @@ const TypographySectionAdvancedPopover = () => {
>
<Grid css={{ gridTemplateColumns: "5fr 5fr" }} gap={2}>
<PropertyLabel
- label="White Space"
+ label="White Space Collapse"
description={propertyDescriptions.whiteSpaceCollapse}
properties={["white-space-collapse"]}
/>
<SelectControl property="white-space-collapse" />
<PropertyLabel
- label="Wrap Mode"
+ label="Text Wrap Mode"
description={propertyDescriptions.textWrapMode}
properties={["text-wrap-mode"]}
/>
<SelectControl property="text-wrap-mode" />
<PropertyLabel
- label="Wrap Style"
+ label="Text Wrap Style"
description={propertyDescriptions.textWrapStyle}
properties={["text-wrap-style"]}
/>
@@ -372,7 +372,7 @@ const TypographySectionAdvancedPopover = () => {
{
child: <TextTruncateIcon />,
description:
- "The overflowing text is truncated with an ellipsis (...) to indicate that there is more content. To make the text-overflow: ellipsis property work, you need to set the following CSS properties: white-space: nowrap; overflow: hidden;",
+ "The overflowing text is truncated with an ellipsis (...) to indicate that there is more content. To make the text-overflow: ellipsis property work, you need to set the following CSS properties: text-wrap-mode: nowrap; overflow: hidden;",
value: "ellipsis",
},
]}