The code in media_gallery.css completely overrides the default styling for <em class="placeholder"> which Drupal uses everywhere. It shouldn't do that.

As far as I can tell, this code is there to prevent italicized text from appearing inside the metadata for a gallery node (e.g. when you hover over it and it tells you the number of items in the gallery). So, the attached patch restricts the styling to that.

Comments

David_Rothstein’s picture

Actually, it occurs to me that a better patch might just be to change the text that is appearing inside the metadata to use @-placeholders rather than %-placeholders. And then we can remove this CSS entirely.

I doubt there is any good reason it needs to be using %-placeholders.

David_Rothstein’s picture

Status: Needs review » Fixed

Committed a version that does what I suggested in #1 (not the original patch):

http://drupalcode.org/project/media_gallery.git/commit/92114f3

Status: Fixed » Closed (fixed)

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