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 icon buttons width

Roman Pominov8adf797742d3
diff --git a/packages/design-system/src/components/icon-button.tsx b/packages/design-system/src/components/icon-button.tsx
index 697aaa10b2..77c7c429db 100644
--- a/packages/design-system/src/components/icon-button.tsx
+++ b/packages/design-system/src/components/icon-button.tsx
@@ -42,22 +42,22 @@ export const IconButton = styled("button", {
"1": {
borderRadius: 2,
height: "$5",
- width: "min($5, 100%)",
+ width: "$5",
},
"2": {
borderRadius: "$1",
height: "$6",
- width: "min($6, 100%)",
+ width: "$6",
},
"3": {
borderRadius: "$1",
height: "$7",
- width: "min($7, 100%)",
+ width: "$7",
},
"4": {
borderRadius: "$2",
height: "$8",
- width: "min($8, 100%)",
+ width: "$8",
},
},
state: {