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 flex control layout/sizes

Oleg Isonend92f38c7d346
diff --git a/apps/designer/app/designer/features/style-panel/sections/layout/layout.tsx b/apps/designer/app/designer/features/style-panel/sections/layout/layout.tsx
index 422fb8867d..ee75ef1c87 100644
--- a/apps/designer/app/designer/features/style-panel/sections/layout/layout.tsx
+++ b/apps/designer/app/designer/features/style-panel/sections/layout/layout.tsx
@@ -49,6 +49,7 @@ const LayoutSectionFlex = ({
"grid grid flexDirection flexWrap ."
"grid grid alignItems justifyContent alignContent"
`,
+ alignItems: "center",
}}
>
<Box css={{ gridArea: "grid" }}>
@@ -79,6 +80,7 @@ const LayoutSectionFlex = ({
gridTemplateAreas: `
"columnGap lock rowGap"
`,
+ alignItems: "center",
}}
>
<Box css={{ gridArea: "columnGap" }}>
diff --git a/packages/design-system/src/components/icon-button-with-menu.tsx b/packages/design-system/src/components/icon-button-with-menu.tsx
index 21b9ff54e2..f6fd3afc02 100644
--- a/packages/design-system/src/components/icon-button-with-menu.tsx
+++ b/packages/design-system/src/components/icon-button-with-menu.tsx
@@ -47,8 +47,8 @@ const itemIndicatorStyle = {
};
const iconButtonStyle = {
- width: "$6",
- height: "$6",
+ width: "$5",
+ height: "$5",
color: "$colors$gray12",
backgroundColor: "$colors$loContrast",
"&:focus": {
diff --git a/packages/design-system/src/stitches.config.ts b/packages/design-system/src/stitches.config.ts
index b1906c6d94..460364c816 100644
--- a/packages/design-system/src/stitches.config.ts
+++ b/packages/design-system/src/stitches.config.ts
@@ -215,11 +215,6 @@ const {
opacity: {
1: "0.4",
},
- nudge: {
- 1: "1px",
- 2: "3px",
- 3: "6px",
- },
space: {
1: "4px",
2: "8px",