Last modified: 2011-03-10 00:38:58 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T24843, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22843 - Add a small bit of padding around the information icon
Add a small bit of padding around the information icon
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ImageMap (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Tim Starling
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-15 19:21 UTC by Ryan Kaldari
Modified: 2011-03-10 00:38 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Ryan Kaldari 2010-03-15 19:21:35 UTC
Having the information icon flush against the edges of the image looks awkward, especially on images with borders. Here's an example:
http://en.wikipedia.org/wiki/Template:USA_midsize_imagemap_with_state_names

A couple pixels of padding should be provided to separate the icon from the edges of the image.
Comment 1 Ryan Kaldari 2010-08-19 23:22:02 UTC
I checked in a new version of ImageMap/desc-20.png that now has a 1px margin around the info icon. The graphic itself is still 20x20 pixel so as not to break any of the existing code. I also sharpened up the 'i' while I was at it. I didn't update the svg file, but it should be easy to edit it to match if desired.
Comment 2 Ryan Kaldari 2010-08-19 23:23:44 UTC
Diff: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/71324
Comment 3 Ryan Kaldari 2011-03-10 00:38:58 UTC
Trevor checked in a newer version of the information icon which includes a 1 pixel margin. This was deployed with 1.17. Marking fixed.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links