Problem/Motivation
If you visit admin/reports/updates you can see error icon is not aligned with "Not supported!" label. Also icon is added using inline images. We should convert it to background image.
![]()
Proposed resolution
- Convert icon from inline img to background-image.
- Align icon with label.
Remaining tasks
Check if the same occurs with the other icons (warning and ok).
User interface changes
New icon alignment.
API changes
None.
| Comment | File | Size | Author |
|---|---|---|---|
| #19 | 2208319-19.png | 206.27 KB | galooph |
| #16 | snapshot1.png | 68.47 KB | alexrayu |
| #7 | Screenshot 2014-03-24 13.12.10.jpg | 268.43 KB | lewisnyman |
| #6 | drupal-icon_misaligned_in_admin_reports_updates-2208319-06.patch | 452 bytes | visabhishek |
| #4 | drupal-icon_misaligned_in_admin_reports_updates-2208319-03.patch | 436 bytes | visabhishek |
Comments
Comment #1
emma.mariaComment #2
visabhishek commentedhi,
I have Created a patch to align icon.
Comment #3
rteijeiro commentedThanks @visabhishek. I think when you add some LTR styling you should include the corresponding RTL styling too. Could you do that and check that it's working too for RTL languages, please?
Comment #4
visabhishek commentedThanks @rteijeiro for reminding me. Updated patch are uploaded.
Comment #5
droplet commentedCan it add prefix .update .not-supported ?
Comment #6
visabhishek commentedYes droplet, we can add.
updated patch is uploaded.
Comment #7
lewisnymanThis looks a lot better. Thanks.
Comment #9
rteijeiro commented6: drupal-icon_misaligned_in_admin_reports_updates-2208319-06.patch queued for re-testing.
Comment #10
oostiePatch works, but why don't we use the same icon as for error messages?
Comment #11
vastav commentedpatch #6 working fine.
Comment #12
lewisnyman@Oostie We will, but there is another issue for that #2207767: Replace watchdog icons with Libricons
Comment #13
emma.mariaComment #14
alexrayu commentedComment #15
alexrayu commentedSetting the span.icon to float:right has done the job for me.
Comment #16
alexrayu commentedApplied the patch, works.

Comment #17
lewisnymanSounds like RTBC to me
Comment #18
alexrayu commentedShould be assigned to visabshek, unassigning.
Comment #19
galooph commentedI've just tested the patch from #6 together with the Libricon patch from https://drupal.org/comment/8611021#comment-8611021 and it all looks good.
Comment #20
webchickNice catch!
Committed and pushed to 8.x. Thanks!