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
add a comment about lineHeight
Roman Pominov31e574c02c4e
diff --git a/packages/design-system/src/components/tree/tree-node.tsx b/packages/design-system/src/components/tree/tree-node.tsxindex 9879f62d43..4a3edb5891 100644--- a/packages/design-system/src/components/tree/tree-node.tsx+++ b/packages/design-system/src/components/tree/tree-node.tsx@@ -274,10 +274,12 @@ const Label = styled(__DEPRECATED__Text, {whiteSpace: "nowrap",overflow: "hidden",textOverflow: "ellipsis",- lineHeight: 1.4,flexBasis: 0,flexGrow: 1,+ // With the default lineHeight and overflow:hidden letters like "g" get clipped+ lineHeight: 1.4,+// For some reason flexBasis:0 is not enough// to stop it from growing past the containerwidth: 0,