There is a small bug in panopoly_magic css.

The problem is that in some browsers there is no support except Verdana, but because there's no comma between verdana and sans-serif so rendering issues ensue.

ERROR:

  font: bold 16px/50px 'Open Sans', 'Lucida Sans', 'Lucida Grande', verdana sans-serif;

CORRECTION:

  font: bold 16px/50px 'Open Sans', 'Lucida Sans', 'Lucida Grande', Verdana, sans-serif;

Comments

sylus’s picture

Attaching patch.

lsolesen’s picture

Status: Active » Needs work

There seems to be some stuff in this patch which has nothing to do with the fonts.

Also, shouldn't the font-family be removed instead and leave that up to the theme?

sylus’s picture

The stuff that has nothing to do with the fonts is my IDE sublime correcting some formatting issues primarily extra white space.

This can be fixed in another issue I guess but should also be addressed as makes it hard to provide patches when Drupal coding conventions aren't followed.

Additionally this issue is just to correct an existing bug. We can discuss the merits about removing the font-family entirely but in the mean time this issue should still be fixed.

dsnopek’s picture

@stylus: There are loads of coding style issues in Panopoly that I'd like to resolve eventually! However, making coding style fixes will break any other existing patches against this file. I want to hold off on coding style fixes until we can get the number of open issues (many of which have patches) down to a more manageble level. Hopefully, the sprint at DrupalCon will help get us closer. :-)

But in the meantime, a patch without coding style changes would be much appreciated!

cs_shadow’s picture

Status: Needs work » Needs review
StatusFileSize
new2.34 KB

Attaching a patch which just changes all occurences of verdana sans-serif to Verdana, sans-serif.

dsnopek’s picture

Status: Needs review » Fixed

Thanks, @cs_shadow and @sylus! The patch from #5 has been committed. :-)

  • Commit 97b0114 on 7.x-1.x by dsnopek:
    Update Panopoly Magic for #2246859: Font-family on submit buttons (CSS...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.