-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
List block: style rule conflicts with Navigation block menu item with background color #50342
Labels
Comments
My suggestion: make the block list style rules more specific to the List block. For example:
And add the class |
This was referenced May 4, 2023
talldan
added
[Type] Bug
An existing feature does not function as intended
[Block] List
Affects the List Block
labels
May 5, 2023
This was referenced May 9, 2023
Created a more generalized report here: |
It'd be great if this gets fixed soon. We need to add custom CSS to every theme to fix this issue. |
Closing this in favour of the duplicate/broader issue mentioned above. |
Excellent. Thanks @jordesign :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Description
When there is a List block on a page, these style rules are added:
The problem with
ul.has-background
is that it not only affects the padding of the list block UL but also the Navigation block when the sub-menus are set to have a different background color.Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
Note: the issue also occurs on WP 6.2 and without Gutenberg...
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: