gutenberg icon indicating copy to clipboard operation
gutenberg copied to clipboard

duplicate styles custom header

Open lwangdu opened this issue 5 years ago • 3 comments

Description

Seem to me creating duplicate styles when I created custom header. Please the screen shots.

Step-by-step reproduction instructions

create site header. change background color add custom padding please see the edit screen shot.

Front end and inspect html section. Seem to me there are too many duplicate styles as you can see on the front end screen shot.

I am not sure supposed be like that or not. edit site frontend

Screenshots, screen recording, code snippet

No response

Environment info

WordPress 5.9 beta 1 TwentyTwenty-Two Chrome and MacBook Pro

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

lwangdu avatar Dec 03 '21 17:12 lwangdu

From what I can see, this is intended :) @oandregal can you confirm and close out if so?

annezazu avatar Dec 15 '21 03:12 annezazu

I'd cc @ntsekouras or @youknowriad for thoughts on this one as it seems layout-related styles.

oandregal avatar Dec 15 '21 15:12 oandregal

This is intended yes, but I think we can improve the situation by making the layout work like any preset. For this reason I'm closing this in favor of #36944

youknowriad avatar Dec 15 '21 17:12 youknowriad