[wp-trac] [WordPress Trac] #37141: SVG image used as featured images set to 0px by 0px
WordPress Trac
noreply at wordpress.org
Tue Jun 21 22:08:42 UTC 2016
#37141: SVG image used as featured images set to 0px by 0px
--------------------------+-------------------------
Reporter: theMikeD | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Media | Version: 4.5.2
Severity: normal | Resolution: maybelater
Keywords: | Focuses:
--------------------------+-------------------------
Comment (by theMikeD):
To be clear, I'm talking about the display of the SVG file in the admin
area. Setting a width and height on the svg file doesn't work, setting a
width on the containing <a> works. So the only thing I found that does it
is to add an admin-specific css file that contains
{{{
#postimagediv .inside p:first-of-type a { min-width: 300px; !important; }
#postimagediv .inside img { max-width: 300px; }
}}}
If you're saying this is a wontfix then I'll leave my hack in place.
Thanks for the guidance.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37141#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list