[wp-trac] [WordPress Trac] #4119: 5px line-height for h2 title in
wp-admin.css
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 10 03:20:28 GMT 2007
#4119: 5px line-height for h2 title in wp-admin.css
----------------------------+-----------------------------------------------
Reporter: bertilow | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.4
Component: Administration | Version: 2.1.3
Severity: normal | Keywords: css line-height
----------------------------+-----------------------------------------------
The stylesheet "wp-admin.css" has the following rule:
{{{
h2 {
border-bottom: .5em solid #e5f3ff;
color: #333;
font: normal 32px/5px serif;
margin: 5px 10px;
}
}}}
The value "32px/5px" sets the line-height to five pixels.
That gives disastrous text-overlapping if an h2-title does
not fit in one line.
The rule should be changed to:
{{{
h2 {
border-bottom: .5em solid #e5f3ff;
color: #333;
font: normal 32px serif;
margin: 5px 10px;
}
}}}
That sets the line-height to "normal".
I attach a screen-shot that shows text overlapping.
(In general it's better not to fiddle with line-height.)
--
Ticket URL: <http://trac.wordpress.org/ticket/4119>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list