Error messages should be padded
Dane Powell - July 12, 2009 - 01:33
| Project: | Pixture Reloaded |
| Version: | 6.x-3.2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Jeff Burnz |
| Status: | needs review |
Description
In Drupal error messages (div.error class), the text overlays the background "stop" image, making it unreadable. I think the text should be padded on the left like other Drupal messages are (like div.messages).

#1
Yes, I really must release another version with all these fiddly bits fixed up, thanks, I know about it but time is so precious right now - patches anyone?
#2
I tried to just add the necessary padding to the class definition in style.css, but it seems to be getting stripped out, I guess by the Color module. I don't know why or how to fix it.
#3
After changing the .css file, you have to go to the theme settings page and save the settings. You don't have to change anything, just save the settings again. That regenerates the color files and updates the the .css for your color scheme.
#4
Ah, okay. I was just flushing the caches and expecting the CSS to be regenerated. Thanks for the tip.
Here's a dead-simple patch for you.
#5
#6
Thanks, I'll commit to head in couple of days when I am home from holiday.
#7
It doesn't look like this has made it into head yet, has it? Just trying to close out some of my old issues here.