diff --git a/package.json b/package.json index 90538abc3..6c69aaf59 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "bundlesize": [ { "path": "resources/dist/index.js", - "maxSize": "13.82kB" + "maxSize": "13.6kB" } ] } diff --git a/src/ui/templates/referencePreview/referencePreview.less b/src/ui/templates/referencePreview/referencePreview.less index eda7aa487..9d5625a3a 100644 --- a/src/ui/templates/referencePreview/referencePreview.less +++ b/src/ui/templates/referencePreview/referencePreview.less @@ -38,6 +38,10 @@ padding-right: @popupPadding; } + .mw-parser-output { + overflow-wrap: break-word; + } + // Remove the default fade-out effect set by popup.less &:after { display: none; diff --git a/webpack.config.js b/webpack.config.js index 39a519284..15fc84946 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -112,8 +112,8 @@ module.exports = ( env, argv ) => ( { // Minified uncompressed size limits for chunks / assets and entrypoints. Keep these numbers // up-to-date and rounded to the nearest 10th of a kibibyte so that code sizing costs are // well understood. Related to bundlesize minified, gzipped compressed file size tests. - maxAssetSize: 42.6 * 1024, - maxEntrypointSize: 42.6 * 1024, + maxAssetSize: 41.4 * 1024, + maxEntrypointSize: 41.4 * 1024, // The default filter excludes map files but we rename ours. assetFilter: ( filename ) => !filename.endsWith( srcMapExt )