Allow detected external links to linebreak at any place
authorDerk-Jan Hartman <hartman.wiki@gmail.com>
Tue, 7 Jul 2015 20:46:23 +0000 (22:46 +0200)
committerDerk-Jan Hartman <hartman.wiki@gmail.com>
Thu, 9 Jul 2015 07:30:54 +0000 (09:30 +0200)
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

resources/src/mediawiki.skinning/elements.css

index cbc97ab..d706d26 100644 (file)
@@ -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;