[wp-trac] [WordPress Trac] #20293: Icons and images look fuzzy on Retina displays.
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 25 21:44:37 UTC 2012
#20293: Icons and images look fuzzy on Retina displays.
-------------------------+-----------------------
Reporter: chexee | Owner: azaozz
Type: enhancement | Status: assigned
Priority: high | Milestone: 3.4
Component: UI | Version: 3.4
Severity: normal | Resolution:
Keywords: |
-------------------------+-----------------------
Comment (by markjaquith):
Some background information (get it? I'm here all night):
In my Login Logo plugin, I was specifying width/height, and then using
{{{background-size: constrain;}}} if their background image was too big.
That shrinks it down proportionally to fit. The change I had to make for
3.4 was to do {{{background-size: auto;}}} if the background image was
'''not''' too big. This was needed to override the precise {{{background-
size}}} dimensions set in 3.4. I suppose I also could have used
{{{background-size}}} myself to set precise dimensions. But since I was
already specifying the width/height of the element, using {{{auto}}} was
the easiest solution.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20293#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list