[wp-trac] [WordPress Trac] #50376: Twenty Seventeen: Gallery captions are not at the bottom of images of some sizes
WordPress Trac
noreply at wordpress.org
Sun Jun 14 15:18:34 UTC 2020
#50376: Twenty Seventeen: Gallery captions are not at the bottom of images of some
sizes
-------------------------------------+------------------------------
Reporter: pevogam | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: css
-------------------------------------+------------------------------
Changes (by sabernhardt):
* keywords: needs-patch => has-patch needs-testing
Comment:
I made a mistake earlier: the caption is normally centered and probably
should stay centered when inside another block.
So the first option is likely preferable, and it's in the attached patch.
`[class^="wp-block-"]:not(.wp-block-gallery) > figcaption`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50376#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list