aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-09-18 15:11:59 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:53 +0300
commit2225e9a15d9330df0fae1615b6d561bc54872068 (patch)
tree6e48cf76fe2c6c5eb479e6aedcdde7c37b16310b
parentc6fd9e81ea028d90a24456be0a2731ac382c2d32 (diff)
fix styling and indentation
-rw-r--r--vnext/src/style/main.css9
-rw-r--r--vnext/webpack.config.js38
2 files changed, 24 insertions, 23 deletions
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$/),