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.

with more text button was becoming larger even though the layout has a constraint

Oleg Isonen24ea4f8dae0e
diff --git a/packages/design-system/src/components/text-field.tsx b/packages/design-system/src/components/text-field.tsx
index 121c6f6ad6..be7b65130e 100644
--- a/packages/design-system/src/components/text-field.tsx
+++ b/packages/design-system/src/components/text-field.tsx
@@ -148,6 +148,7 @@ const TextFieldBase = styled("div", {
fontSize: "$fontSize$3",
height: 28, // @todo waiting for the sizing scale
lineHeight: 1,
+ overflow: "hidden",
"&:focus-within": {
boxShadow:
"inset 0px 0px 0px 1px $colors$blue10, 0px 0px 0px 1px $colors$blue10",