[wp-trac] [WordPress Trac] #61709: 6.6 introduces an in-line display:flow-root on Gutenberg's .is-root-container
WordPress Trac
noreply at wordpress.org
Mon Jul 22 05:24:56 UTC 2024
#61709: 6.6 introduces an in-line display:flow-root on Gutenberg's .is-root-
container
-------------------------------+------------------------------
Reporter: kristoffbertram | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 6.6
Severity: normal | Resolution:
Keywords: changes-requested | Focuses: css
-------------------------------+------------------------------
Comment (by aaronrobertshaw):
Thank you for reporting this @kristoffbertram
After a little digging, I found out the following:
- This `display: flow-root` style previously existed in the editor styles
for the site editor
- In https://github.com/WordPress/gutenberg/pull/61896 a refactor was
completed to move the ability to resize the editor, to the editor package,
so it could be consistent between site and post editors
- This meant the post editor now has the `display: flow-root` style as
well
- Eventually, the goal is to be able to unify both editors
> 6.6 introduces an in-line display:flow-root on Gutenberg's .is-root-
container
I couldn't replicate any inline `display: flow-root` style on the `.is-
root-container` element. There is a style added that targets the `.is-
root-container` class though. It appears, you shouldn't need to add `!
important` to your styles.
If you still see an inline style on the root container, could you provide
further details on how this can be replicated?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61709#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list