Adding overflow:hidden to heading elements in Vector.
authorKrinkle <krinkle@users.mediawiki.org>
Mon, 27 Dec 2010 20:53:11 +0000 (20:53 +0000)
committerKrinkle <krinkle@users.mediawiki.org>
Mon, 27 Dec 2010 20:53:11 +0000 (20:53 +0000)
This has been tested in Vector in a large number of browsers to not have side effects and only making the underline no longer shine through transparent borders or margins of thumbs.
Also, due to float clearing abilities of overflow:hidden (it's all over the internet) this also causes the editsection link to no longer be stacked down (see en.wiki WP:BUNCH), see bug 26449.

skins/vector/screen.css

index 060fe7c..be05727 100644 (file)
@@ -699,6 +699,7 @@ h6 {
        background: none;
        font-weight: normal;
        margin: 0;
+       overflow: hidden;
        padding-top: .5em;
        padding-bottom: .17em;
        border-bottom: 1px solid #aaa;