From 2225e9a15d9330df0fae1615b6d561bc54872068 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 18 Sep 2018 15:11:59 +0300 Subject: fix styling and indentation --- vnext/src/style/main.css | 9 +++++---- vnext/webpack.config.js | 38 +++++++++++++++++++------------------- 2 files changed, 24 insertions(+), 23 deletions(-) (limited to 'vnext') diff --git a/vnext/src/style/main.css b/vnext/src/style/main.css index 2e2f3fdd..3947b0b0 100644 --- a/vnext/src/style/main.css +++ b/vnext/src/style/main.css @@ -125,14 +125,12 @@ noscript article { } @media screen and (max-width: 850px) { - body { + #body { text-size-adjust: 100%; } - body, + #body, #topwrapper, - #content, #footer { - float: none; margin: 0 auto; min-width: 310px; width: auto; @@ -140,6 +138,9 @@ noscript article { #body > header { margin-bottom: 15px; } + #content { + margin: 52px auto 0; + } } /* #endregion */ diff --git a/vnext/webpack.config.js b/vnext/webpack.config.js index de878586..7529c592 100644 --- a/vnext/webpack.config.js +++ b/vnext/webpack.config.js @@ -76,26 +76,26 @@ module.exports = { new OptimizeCSSAssetsPlugin({}) ], splitChunks: { - chunks: 'all', - minSize: 30000, - maxSize: 0, - minChunks: 1, - maxAsyncRequests: 5, - maxInitialRequests: 3, - automaticNameDelimiter: '~', - name: true, - cacheGroups: { - vendors: { - test: /[\\/]node_modules[\\/]/, - priority: -10 - }, - default: { - minChunks: 2, - priority: -20, - reuseExistingChunk: true + chunks: 'all', + minSize: 30000, + maxSize: 0, + minChunks: 1, + maxAsyncRequests: 5, + maxInitialRequests: 3, + automaticNameDelimiter: '~', + name: true, + cacheGroups: { + vendors: { + test: /[\\/]node_modules[\\/]/, + priority: -10 + }, + default: { + minChunks: 2, + priority: -20, + reuseExistingChunk: true + } + } } - } - } }, plugins: [ new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/), -- cgit v1.2.3