mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 23:55:53 +00:00
Break words for long links
Follow the solution we have on Minerva (mobile site) and break long links in page. Additional change: Mostly whitespace updates. Use git diff -w to see. Bug: T327334 Change-Id: I8d7e6a31b3a76375245da312e99f637766ffff8c
This commit is contained in:
parent
c0aa8c2a87
commit
abb2cc5a48
|
@ -145,7 +145,13 @@ pre,
|
|||
|
||||
// External links
|
||||
// Use of `a` element selector for limiting generic class scope due to `.external` widespread usage.
|
||||
.mw-parser-output a.external {
|
||||
.mw-parser-output {
|
||||
a {
|
||||
// Deal with long links (T327334, inspired by Minerva solution T62387)
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
a.external {
|
||||
// Use copy of Codex/OOUI WikimediaUI theme's 'linkExternal' icon in progressive color.
|
||||
// Note that CSSJanus is flipping the `ltr` in the URL to `rtl`.
|
||||
// Therefore make sure that both icons are available and up-to-date.
|
||||
|
@ -161,3 +167,4 @@ pre,
|
|||
word-break: break-all;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue