Closed Bug 557670 Opened 14 years ago Closed 14 years ago

Buttons have over-extending vertical lines -- they shouldn't!

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stephend, Unassigned)

References

()

Details

(Whiteboard: [z][buttons])

Attachments

(1 file)

See screenshot; there's a weird vertical line on the Add to Firefox/Download Now experiences.
Summary: Buttons have vertical lines -- they shouldn't! → Buttons have over-extending vertical lines -- they shouldn't!
(In reply to comment #0)
> See screenshot; there's a weird vertical line on the Add to Firefox/Download

Looks like it's caused by the following rule in common-min.css (defined around line 2780 in main.css before minimizing):

.section-teaser .addon-view p,
.section-teaser .addon-view h3 {
    margin-left: 0;
    margin-right: 0;
    line-height: 1.23em;
}

That's declaring an explicit line-height, and that smaller line-height is making the icon border overflow the button. Buttons expect the base line-height of 1.538 as declared for the body, but to play it safe we can explicitly declare that line-height for buttons.

Fixed in r65389
Target Milestone: --- → 5.9
Hey Craig - I've given your Bugzilla account permissions to edit bugs now, so please resolve as needed; thanks.
(In reply to comment #2)
> Hey Craig - I've given your Bugzilla account permissions to edit bugs now, so
> please resolve as needed; thanks.

Marking as resolved. Thanks, Stephen.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
This needs merging into Zamboni, looks like.
Verified FIXED, thanks!
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: