[wp-trac] [WordPress Trac] #42604: Problem: alignment of image with caption
WordPress Trac
noreply at wordpress.org
Sun Nov 26 14:03:23 UTC 2017
#42604: Problem: alignment of image with caption
--------------------------+--------------------
Reporter: slilley | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.9.2
Component: Media | Version: 4.9
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+--------------------
Comment (by slilley):
Even if the caption is short (i.e. narrower than the image), the shaded
frame still goes wide.
Replying to [comment:4 Clorith]:
> Introduced in r41724
>
> The use of max-width on the container lets the `wp-caption-text` cause
it to overflow for some reason, providing a max-width that mimics the
parents max width might be an idea (so far only observed on themes that do
not have HTML5 support, so it might be something there)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42604#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list