From: Derk-Jan Hartman Date: Tue, 7 Jul 2015 20:46:23 +0000 (+0200) Subject: Allow detected external links to linebreak at any place X-Git-Tag: 1.31.0-rc.0~10842^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/ajouter.php?a=commitdiff_plain;h=c270583677c5d0bd032adc2f958d759955246031;p=lhc%2Fweb%2Fwiklou.git Allow detected external links to linebreak at any place These so called 'bare urls', which are not wrapped in [] can be very long at times and because they are not normal text usually don't wrap to a new line when needed, causing annoying overflows, especially on smaller screens and often on talk pages where they are a bit more common. This is CSS3. Change-Id: Ied3f5fb52d79318c40d541f2c47ae36ea2dfe504 --- diff --git a/resources/src/mediawiki.skinning/elements.css b/resources/src/mediawiki.skinning/elements.css index cbc97abc91..d706d26143 100644 --- a/resources/src/mediawiki.skinning/elements.css +++ b/resources/src/mediawiki.skinning/elements.css @@ -64,6 +64,10 @@ a.new:visited, #p-personal a.new:visited { color: #b63; } +.mw-body a.external.free { + word-wrap: break-word; +} + /* Inline Elements */ img { border: none;