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-direction column grid render

Sultan8f14a38836f5
diff --git a/apps/designer/app/designer/features/style-panel/style-section.tsx b/apps/designer/app/designer/features/style-panel/style-section.tsx
index 853ec64e10..c7b985af63 100644
--- a/apps/designer/app/designer/features/style-panel/style-section.tsx
+++ b/apps/designer/app/designer/features/style-panel/style-section.tsx
@@ -370,7 +370,9 @@ const GridControl = ({
color: "$colors$blue9", // $colors$slate8
background: "#FFF",
border: "2px solid currentColor",
- transform: `scale(${direction ? -1 : 1})`,
+ transform: direction
+ ? "rotate(-90deg) scaleX(-1)"
+ : "rotate(0deg) scaleX(1)",
}}
>
{cells.map((value, index) => (