Fix flex-child ordering (#1836)

## Description

closes #1833

## Steps for reproduction

Create Flex box, add 2 boxes
Change order on any box

## Code Review

- [ ] hi @kof, I need you to do
  - conceptual review (architecture, feature-correctness)
  - detailed review (read every line)
  - test it on preview

## Before requesting a review

- [ ] made a self-review
- [ ] added inline comments where things may be not obvious (the "why",
not "what")

## Before merging

- [ ] tested locally and on preview environment (preview dev login:
5de6)
- [ ] updated [test
cases](https://github.com/webstudio-is/webstudio-builder/blob/main/apps/builder/docs/test-cases.md)
document
- [ ] added tests
- [ ] if any new env variables are added, added them to `.env.example`
and the `builder/env-check.js` if mandatory
This commit is contained in:
Ivan Starkov authored and GitHub committed 2023-06-23 12:55:50 +04:00
1 parent 0827fd3e6b
commit c59e657fbb
1 file changed
+2 -2
@@ -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} />,