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.

Icon Misaligned

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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

emma.maria’s picture

Assigned: Unassigned » emma.maria
visabhishek’s picture

Status: Active » Needs review
FileSize
409 bytes

hi,

I have Created a patch to align icon.

rteijeiro’s picture

Status: Needs review » Needs work

Thanks @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?

visabhishek’s picture

Status: Needs work » Needs review
FileSize
436 bytes

Thanks @rteijeiro for reminding me. Updated patch are uploaded.

droplet’s picture

Can it add prefix .update .not-supported ?

visabhishek’s picture

Yes droplet, we can add.
updated patch is uploaded.

LewisNyman’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
268.43 KB

This looks a lot better. Thanks.

icon looking great

Status: Reviewed & tested by the community » Needs work
rteijeiro’s picture

Oostie’s picture

Patch works, but why don't we use the same icon as for error messages?

vastav’s picture

patch #6 working fine.

LewisNyman’s picture

@Oostie We will, but there is another issue for that #2207767: Replace watchdog icons with Libricons

emma.maria’s picture

Assigned: emma.maria » Unassigned
alexrayu’s picture

Assigned: Unassigned » alexrayu
alexrayu’s picture

Setting the span.icon to float:right has done the job for me.

alexrayu’s picture

FileSize
68.47 KB

Applied the patch, works.

LewisNyman’s picture

Status: Needs work » Reviewed & tested by the community

Sounds like RTBC to me

alexrayu’s picture

Assigned: alexrayu » Unassigned

Should be assigned to visabshek, unassigning.

galooph’s picture

FileSize
206.27 KB

I'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.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Nice catch!

Committed and pushed to 8.x. Thanks!

  • Commit 29bfb33 on 8.x by webchick:
    Issue #2208319 by visabhishek, LewisNyman, galooph, rteijeiro: Icon...

Status: Fixed » Closed (fixed)

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