From: Santhosh Thottingal Date: Thu, 22 Sep 2011 03:51:59 +0000 (+0000) Subject: Zero padding for #firstHeading makes text cut for scripts like Devanagari , Malayalam... X-Git-Tag: 1.31.0-rc.0~27487 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=2c26f5fe4e8ea8c086c359db2499b90a83a1da22;p=lhc%2Fweb%2Fwiklou.git Zero padding for #firstHeading makes text cut for scripts like Devanagari , Malayalam etc(Bug 29405 and Bug 30809), especially when the glyphs are stacked or having lower diacritic marks. Remove padding-top:0 and padding-bottom:0 to allow h1 inherit the padding bottom and top values from commonElements.css fixes this. --- diff --git a/skins/common/commonInterface.css b/skins/common/commonInterface.css index d13cad24a5..8dde5d2df8 100644 --- a/skins/common/commonInterface.css +++ b/skins/common/commonInterface.css @@ -39,7 +39,6 @@ /* These two rules hack around bug 2013 (fix for more limited bug 11325). When bug 2013 is fixed properly, they should be removed. */ line-height: 1.2em; - padding-bottom: 0; } /* Sub-navigation */ diff --git a/skins/vector/screen.css b/skins/vector/screen.css index fa22e10de9..cd345a7331 100644 --- a/skins/vector/screen.css +++ b/skins/vector/screen.css @@ -689,9 +689,7 @@ pre { font-size: 0.8em; } #firstHeading { - padding-top: 0; margin-top: 0; - padding-top: 0; font-size: 1.6em; } div#content a.external,