Closed (fixed)
Project:
Media Gallery
Version:
7.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Dec 2010 at 05:58 UTC
Updated:
8 Apr 2011 at 19:41 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| media-gallery-placeholder-styling.patch | 464 bytes | David_Rothstein |
Comments
Comment #1
David_Rothstein commentedActually, 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.
Comment #2
David_Rothstein commentedCommitted a version that does what I suggested in #1 (not the original patch):
http://drupalcode.org/project/media_gallery.git/commit/92114f3