From dea588133a365ca96f7d0d1ef165a5e32ffbed69 Mon Sep 17 00:00:00 2001 From: MatmaRex Date: Sun, 12 Aug 2012 01:34:25 +0200 Subject: [PATCH] remove bizarre overflow:hidden from lists in sidebar on Vector 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skins/vector/screen.css b/skins/vector/screen.css index 32a6489e2f..d45e61c8b2 100644 --- a/skins/vector/screen.css +++ b/skins/vector/screen.css @@ -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; -- 2.20.1