Merge "Wrap long words in reference preview popups"

This commit is contained in:
jenkins-bot 2020-11-02 09:29:09 +00:00 committed by Gerrit Code Review
commit a81a858453
3 changed files with 7 additions and 3 deletions

View file

@ -67,7 +67,7 @@
"bundlesize": [
{
"path": "resources/dist/index.js",
"maxSize": "13.82kB"
"maxSize": "13.6kB"
}
]
}

View file

@ -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;

View file

@ -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 )