Twenty Seventeen: Update blockquote alignment on load.
The theme uses JavaScript to check if a right-aligned blockquote is below the sidebar content before pushing it outside of the content area. This was originally only firing on browser resize. Fixes #40103. git-svn-id: https://develop.svn.wordpress.org/trunk@44679 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f91ac658fe
commit
3f7881b77a
@ -208,6 +208,7 @@
|
||||
|
||||
adjustHeaderHeight();
|
||||
setQuotesIcon();
|
||||
belowEntryMetaClass( 'blockquote.alignleft, blockquote.alignright' );
|
||||
if ( true === supportsInlineSVG() ) {
|
||||
document.documentElement.className = document.documentElement.className.replace( /(\s*)no-svg(\s*)/, '$1svg$2' );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user