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-child ordering (#1836)

Ivan Starkovc59e657fbbdb
diff --git a/apps/builder/app/builder/features/style-panel/sections/flex-child/flex-child.tsx b/apps/builder/app/builder/features/style-panel/sections/flex-child/flex-child.tsx
index 7137d728bd..663e6624f2 100644
--- a/apps/builder/app/builder/features/style-panel/sections/flex-child/flex-child.tsx
+++ b/apps/builder/app/builder/features/style-panel/sections/flex-child/flex-child.tsx
@@ -293,12 +293,12 @@ const FlexChildSectionOrder = (props: RenderCategoryProps) => {
{
child: <OrderFirstIcon />,
label: "Make first",
- value: "1",
+ value: "-1",
},
{
child: <OrderLastIcon />,
label: "Make last",
- value: "-1",
+ value: "1",
},
{
child: <FlexChildSectionOrderPopover {...props} />,