From c47b7d7ee11f5a0d6704b07f6a7a56981b6d04d7 Mon Sep 17 00:00:00 2001 From: David Polak Date: Fri, 4 Jan 2019 14:05:16 +0100 Subject: [PATCH] Move flex options to a separate Sector --- src/editor/config/config.js | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/editor/config/config.js b/src/editor/config/config.js index 645349c52..62a3d3ce3 100644 --- a/src/editor/config/config.js +++ b/src/editor/config/config.js @@ -216,11 +216,6 @@ module.exports = { buildProps: [ 'float', 'display', - 'flex-direction', - 'flex-wrap', - 'justify-content', - 'align-items', - 'align-content', 'position', 'top', 'right', @@ -228,6 +223,17 @@ module.exports = { 'bottom' ] }, + { + name: 'Flex', + open: false, + buildProps: [ + 'flex-direction', + 'flex-wrap', + 'justify-content', + 'align-items', + 'align-content' + ] + }, { name: 'Dimension', open: false,