Post Editor: 40vh padding applied to the bottom is overwritten with zero #63278
Labels
[Feature] Themes
Questions or issues with incorporating or styling blocks in a theme.
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
In WP6.6, when
useRootPaddingAwareAlignments
isfalse
intheme.json
, the expected40vh
padding below the content in the post editor is overwritten with zero.This makes it difficult to click below the content and insert a new block.
I think the issue is related to the CSS selector that applies the zero padding changing from
body
to:root :where(body)
, which has a higher specificity.WP6.5
✅ useRootPaddingAwareAlignments: true
✅ useRootPaddingAwareAlignments: false
WP6.6
✅ useRootPaddingAwareAlignments: true
❌ useRootPaddingAwareAlignments: false
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Actual
Expected
Environment info
WordPress 6.6 RC2 and latest Gutenberg plugin
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: