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.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
more browser comp. solution for <Text truncate>
Roman Pominov9271035998b8
diff --git a/packages/design-system/src/components/text.tsx b/packages/design-system/src/components/text.tsxindex 152019c8bc..d007036201 100644--- a/packages/design-system/src/components/text.tsx+++ b/packages/design-system/src/components/text.tsx@@ -57,16 +57,17 @@ export const Text = styled("div", {true: {whiteSpace: "nowrap",textOverflow: "ellipsis",+ overflow: "hidden",++ // To make sure text is not clipped vertically+ pt: 10,+ pb: 10,+ mt: -10,+ mb: -10,+flexBasis: 0,flexGrow: 1,- // We want to use overflow-x:clip to make sure the text is not clipped vertically.- // overflow:hidden is a fallback for when `clip` is not supported,- // the text may be clipped vertically in these browsers.- overflow: "hidden",- overflowX: "clip",- overflowY: "visible",-// For some reason flexBasis:0 is not enough// to stop it from growing past the containerwidth: 0,