Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In site title block, background color adding padding in Full Site Editing Editor. #41535

Closed
Smit2808 opened this issue Jun 3, 2022 · 1 comment
Labels
[Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed

Comments

@Smit2808
Copy link
Contributor

Smit2808 commented Jun 3, 2022

Description

In FSE(Full Site Editing) editor side, when we give background color to the site title block. Then it is adding padding: 1.25em 2.375em. I have checked in inspector tools and found out that this CSS is affecting.

h1.has-background, h2.has-background, h3.has-background, h4.has-background, h5.has-background, h6.has-background {
    padding: 1.25em 2.375em; 
}

And also found out that this CSS is only affecting in editor side only. In front it is working fine.

Step-by-step reproduction instructions

  1. Open FSE.
  2. Select the site title block in the nav menu.
  3. Add the background color and you can see some padding will be added with background color

Screenshots, screen recording, code snippet

Screenshot 2022-06-03 at 3 50 27 PM

Environment info

wordpress version 6.0
Latest GB version
Browser chrome
Theme Twenty Twenty Two
MAC OS

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

@carolinan carolinan added the [Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed label Jun 9, 2022
@carolinan
Copy link
Contributor

Hi!
I am closing this issue as a duplicate of #30725 and #36586.
I encourage you to continue the discussions in your pull request, or in the open issue.

@carolinan carolinan closed this as not planned Won't fix, can't repro, duplicate, stale Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] Duplicate Used to indicate that a current issue matches an existing one and can be closed
Projects
None yet
Development

No branches or pull requests

2 participants