From 4bff50934b49968852a2af75faaf3e908943b52b Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Thu, 12 Aug 2021 13:27:24 +0200 Subject: [PATCH] Move devices defaults --- src/device_manager/config/config.js | 26 +++++++++++++++++++++++++- src/editor/config/config.js | 28 +--------------------------- 2 files changed, 26 insertions(+), 28 deletions(-) diff --git a/src/device_manager/config/config.js b/src/device_manager/config/config.js index 052386392..fa01c2044 100644 --- a/src/device_manager/config/config.js +++ b/src/device_manager/config/config.js @@ -1,3 +1,27 @@ export default { - devices: [] + devices: [ + { + id: 'desktop', + name: 'Desktop', + width: '' + }, + { + id: 'tablet', + name: 'Tablet', + width: '768px', + widthMedia: '992px' + }, + { + id: 'mobileLandscape', + name: 'Mobile landscape', + width: '568px', + widthMedia: '768px' + }, + { + id: 'mobilePortrait', + name: 'Mobile portrait', + width: '320px', + widthMedia: '480px' + } + ] }; diff --git a/src/editor/config/config.js b/src/editor/config/config.js index 65de1a58f..601731c58 100644 --- a/src/editor/config/config.js +++ b/src/editor/config/config.js @@ -212,33 +212,7 @@ export default { selectorManager: {}, //Configurations for Device Manager - deviceManager: { - devices: [ - { - id: 'desktop', - name: 'Desktop', - width: '' - }, - { - id: 'tablet', - name: 'Tablet', - width: '768px', - widthMedia: '992px' - }, - { - id: 'mobileLandscape', - name: 'Mobile landscape', - width: '568px', - widthMedia: '768px' - }, - { - id: 'mobilePortrait', - name: 'Mobile portrait', - width: '320px', - widthMedia: '480px' - } - ] - }, + deviceManager: {}, //Configurations for Style Manager styleManager: {