Opened 9 years ago

Closed 8 years ago

#985 closed defect (bug) (wontfix)

Download button line-height is off

Reported by: nphaskins's profile nphaskins Owned by:
Milestone: Priority: low
Component: General Keywords: has-patch


The second button on, the one that says Download Wordpress 4.1.1, it's line-height is off. I'm viewing this in Chrome, but it's also the same for me in Firefox as well, so it seems like a cross-browser issue.

It can be fixed by adjusting the line height to 32px from 28px. This download button has a specific CSS class. I don't see this line height issue anywhere else currently.

Here's the fix:

.col-3 {line-height:32px;}

Attachments (1)

add-default-sans_serif-fonts.diff (365 bytes) - added by diddledani 8 years ago.
This patch adds a default chain of sans-serif fonts to body{} in mp4

Download all attachments as: .zip

Change History (10)

#1 @Otto42
9 years ago

Looks okay to me in Chrome on Windows, but your image looks like it's the wrong font or it's too bold or something. Maybe it's a Mac-specific thing?

#2 @nphaskins
9 years ago

Hrm, that's super interesting. It's definitely not as bad in Windows, but seems to be a diff across the two. Few more shots:

Windows 8 running Chrome 41:
Windows 7 running Chrome 41:
Yosemite, Chrome 41:

#3 @Otto42
9 years ago

The whole thing on Yosemite seems thicker and bolder. Examine the main menu, the main header, even the serif'd intro text. Must be a font difference somewhere.

Chrome tells me the Download button renders in Arial. What does Yosemite render for the font?

#4 @nphaskins
9 years ago

On both Win and Mac it's inheriting sans-serif from body. I think what's happening is that the OS is returning a different default.

Those who have Helvetica installed on Macs, get served Helvetica for sans-serif. On PC, users without Helvetica get served is Arial. To test this, do you have Helvetica installed on your Windows box?

P.S - If I force Arial on my Mac, the line-height corrects itself to match that of Windows.

Last edited 9 years ago by nphaskins (previous) (diff)

#5 @Otto42
9 years ago

Maybe we should specify Arial as the font then, with sans-serif as the fallback, for consistency. I do believe Arial is on Mac by default.

#6 @nphaskins
9 years ago

Yeah definitely agree with that idea.

8 years ago

This patch adds a default chain of sans-serif fonts to body{} in mp4

#7 @diddledani
8 years ago

  • Keywords has-patch added

sorry, I mistyped - mp4 should read wp4.css

This ticket was mentioned in Slack in #meta by sam. View the logs.

8 years ago

#9 @samuelsidler
8 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

I do see some issue here, but I don't think it's worth fixing as we're going to redesign this page in the next couple of months. Closing this as wontfix, but thank you for reporting it!

Note: See TracTickets for help on using tickets.