Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: visabhishek commentedhi,
I have Created a patch to align icon.
Comment #3
rteijeiro CreditAttribution: 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 CreditAttribution: visabhishek commentedThanks @rteijeiro for reminding me. Updated patch are uploaded.
Comment #5
droplet CreditAttribution: droplet commentedCan it add prefix .update .not-supported ?
Comment #6
visabhishek CreditAttribution: visabhishek commentedYes droplet, we can add.
updated patch is uploaded.
Comment #7
LewisNymanThis looks a lot better. Thanks.
Comment #9
rteijeiro CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: alexrayu commentedComment #15
alexrayu CreditAttribution: alexrayu commentedSetting the span.icon to float:right has done the job for me.
Comment #16
alexrayu CreditAttribution: alexrayu commentedApplied the patch, works.
Comment #17
LewisNymanSounds like RTBC to me
Comment #18
alexrayu CreditAttribution: alexrayu commentedShould be assigned to visabshek, unassigning.
Comment #19
galooph CreditAttribution: 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!