[wp-trac] [WordPress Trac] #46055: Twenty Seventeen: Blockquotes aligned right are not rechecked when widgets are added in the Customizer
WordPress Trac
noreply at wordpress.org
Fri Jan 16 16:19:34 UTC 2026
#46055: Twenty Seventeen: Blockquotes aligned right are not rechecked when widgets
are added in the Customizer
-----------------------------------------+-----------------------------
Reporter: desrosj | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: needs-patch has-screenshots | Focuses: javascript
-----------------------------------------+-----------------------------
Comment (by sabernhardt):
[https://github.com/WordPress/wordpress-
develop/blob/e626725523f8fa3e8452e9e126ff366d83ccfacc/src/wp-
content/themes/twentyseventeen/assets/js/global.js#L111-L140
belowEntryMetaClass()] updates whether the right-aligned `blockquote`
(including the Quote block) should have the `below-entry-meta` class when
the page reloads or resizes. Because it does not run as the Blog Sidebar
widget content is changed, adding content can result in a temporary
overlap in the Customizer. Similarly, reducing the widget content would
not move the quote into the empty space until the page is reloaded or
resized.
I thought the script function could simply skip running in the Customizer
(by adding `$body.hasClass( 'twentyseventeen-customizer' )` to the list of
conditions to `return`).
That would avoid the overlap, but it would be //a little// inaccurate when
the widget content is short, even after reloading or resizing the page.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46055#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list