[wp-trac] [WordPress Trac] #56970: .is-layout-flex broken
WordPress Trac
noreply at wordpress.org
Thu Nov 3 05:56:01 UTC 2022
#56970: .is-layout-flex broken
-------------------------------------------------+-------------------------
Reporter: rsmith4321 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.1.1
Component: Editor | Version: 6.1
Severity: normal | Resolution:
Keywords: needs-testing-info has-screenshots | Focuses:
reporter-feedback |
-------------------------------------------------+-------------------------
Changes (by sabernhardt):
* keywords: needs-screenshots needs-testing-info => needs-testing-info
has-screenshots reporter-feedback
Comment:
Thanks for the report!
The `.is-layout-flex` class selector is in global styles. I tried
disabling the global styles in `functions.php` (with the classic theme
Twenty Sixteen), and then the Buttons block did not have `display: flex`.
{{{
function wptrac_remove_global_css() {
remove_action( 'wp_enqueue_scripts', 'wp_enqueue_global_styles' );
}
add_action( 'after_setup_theme', 'wptrac_remove_global_css' );
}}}
Did you disable the global styles, too?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56970#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list