mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-27 17:00:37 +00:00
Wrap long words in reference preview popups
Bug: T266859 Change-Id: I874d60246a0337577c0f411d0d24f237c1ceebf2
This commit is contained in:
parent
789cedc168
commit
c6ea149d34
|
@ -67,7 +67,7 @@
|
|||
"bundlesize": [
|
||||
{
|
||||
"path": "resources/dist/index.js",
|
||||
"maxSize": "13.82kB"
|
||||
"maxSize": "13.6kB"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue