remove bizarre overflow:hidden from lists in sidebar on Vector
authorMatmaRex <matma.rex@gmail.com>
Sat, 11 Aug 2012 23:34:25 +0000 (01:34 +0200)
committerMatmaRex <matma.rex@gmail.com>
Mon, 13 Aug 2012 07:30:16 +0000 (09:30 +0200)
I have no idea what this rule was there for. It serves no purpose (the
bullets are already hidden by list-style-type:none several lines above
it), and it only makes it harder to add a bullet point there, e.g. to mark
featured/good articles in interwiki links. I spent 15 minutes figuring out
why the hell they are staying hidden after I set list-style-type to disc.

I believe that this one line was the sole cause of awful hacks used for
the purpose of marking FA/GA interwikis, such as the one on en.wiki[1]
or pl.wiki[2].

[1] https://en.wikipedia.org/wiki/MediaWiki:Vector.css - grep for
    {{tl|Link GA}}, {{tl|Link FA}}

[2] https://pl.wikipedia.org/wiki/MediaWiki:Gadget-featured-articles-links.css
    - grep for .skin-vector

Patchset 2: add word-wrap:break-word per Trevor's suggestion.

Change-Id: Ic993b0fbcc5e468effab3552b032ff4946c18b46

skins/vector/screen.css

index 32a6489..d45e61c 100644 (file)
@@ -488,8 +488,8 @@ div#mw-panel div.portal div.body ul li {
        padding: 0;
        padding-bottom: 0.5em;
        margin: 0;
-       overflow: hidden;
        font-size: 0.75em;
+       word-wrap: break-word;
 }
 div#mw-panel div.portal div.body ul li a {
        color: #0645ad;