diff --git a/src/style_manager/model/PropertyFactory.js b/src/style_manager/model/PropertyFactory.js index 07b2f4566..7a21fcfbd 100644 --- a/src/style_manager/model/PropertyFactory.js +++ b/src/style_manager/model/PropertyFactory.js @@ -24,6 +24,10 @@ export default () => ({ // Fixed values switch (prop) { + case 'top': + case 'right': + case 'bottom': + case 'left': case 'margin-top': case 'margin-right': case 'margin-bottom': @@ -198,10 +202,6 @@ export default () => ({ case 'position': obj.defaults = 'static'; break; - case 'top': - case 'right': - case 'bottom': - case 'left': case 'margin-top': case 'margin-right': case 'margin-bottom': @@ -240,6 +240,10 @@ export default () => ({ case 'box-shadow-blur': obj.defaults = '5px'; break; + case 'top': + case 'right': + case 'bottom': + case 'left': case 'min-height': case 'min-width': case 'max-height': diff --git a/webpack.config.js b/webpack.config.js index c4c0527bb..cbd454bcc 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -39,7 +39,6 @@ module.exports = env => { devtool: isProd ? 'source-map' : (!env ? 'cheap-module-eval-source-map' : false), devServer: { headers: { 'Access-Control-Allow-Origin': '*' }, - disableHostCheck: true, }, module: { rules: [{