Changing background color of header or paragraph block causes extra padding to be added #65506
Closed
2 tasks done
Labels
[Block] Heading
Affects the Headings Block
[Block] Paragraph
Affects the Paragraph Block
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
[Type] Bug
An existing feature does not function as intended
Description
PROBLEM: Changing the background color of a paragraph or header block causes extra padding to be added to the element.
EXPECTED RESULT: Changing the background color of the block does NOT change the dimensions/padding/margins of the block, only changes the background color.
NOTE: This affects both the editor and is also saved and becomes live when the page is saved.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
Wordpress 6.6.2; Microsoft Edge Browser; Occurs in both locally hosted WP 6.6.2 and fresh version on playground
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
The text was updated successfully, but these errors were encountered: