Skip to content

Twenty Twenty-one - Heading block takes extra padding while adding a background #40144

@kmadhak

Description

Description

When I try to add a background colour in h1 tag of heading block then the extra padding got added, so the text is visible in multiline, for more detail please find the attachment of the video and let me know if there is anything.

Step-by-step reproduction instructions

  1. Go to editor.
  2. Add a heading block.
  3. Select H1 tag for heading.
  4. Click on accordion color from setting side bar.
  5. Choose any background color.

Screenshots, screen recording, code snippet

Recording.30.mp4

Environment info

WordPress Version:- 5.9.3
Browser: Google Chrome 100.0.4896.75 (Official Build) (arm64)
OS Version: Mac 12.3.1

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

CSS StylingRelated to editor and front end styles, CSS-specific issues.[Block] HeadingAffects the Headings Block

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions