[wp-trac] [WordPress Trac] #23147: Twenty Twelve: Proper padding to floating images with caption
WordPress Trac
noreply at wordpress.org
Fri Feb 15 19:06:18 UTC 2013
#23147: Twenty Twelve: Proper padding to floating images with caption
-------------------------------------------+------------------
Reporter: TomasM | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.6
Component: Bundled Theme | Version: 3.5
Severity: normal | Resolution:
Keywords: needs-patch reporter-feedback |
-------------------------------------------+------------------
Comment (by TomasM):
.wp-caption adds only general padding for the whole element, but as we can
see from the original css, rules for the aligned elements apply only if
that element is image, caption is not image, so that's why we should add
div selector, otherwise we could remove img, selector I would say, so
every aligned element would get those rules applied:
{{{
img.alignleft {
margin: 12px 24px 12px 0;
margin: 0.857142857rem 1.714285714rem 0.857142857rem 0;
}
}}}
For a limited time you can see it here (with original, not fixed CSS):
http://test.mbccopnetwork.org/urjeet-a-patel-md
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23147#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list