-
Notifications
You must be signed in to change notification settings - Fork 360
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
Seedlet: Fix navigation block styles in editor #5199
Conversation
@@ -16,23 +20,33 @@ | |||
} | |||
} | |||
|
|||
.wp-block-navigation-item { | |||
> a { | |||
border: 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this going to play nicely with #5195 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm.. possibly, although it looks like the navigation may need to override the text-decoration
styles instead of the border
.
This works in my testing, but I'm not that keen on adding the extra CSS. What happens if we leave it out? |
Ah yeah, I was thinking this was very Seedlet-specific. I'll try playing around with the block now! |
Opened a GB PR to hopefully fix the spacing issue here: WordPress/gutenberg#37587 |
Changes proposed in this Pull Request:
This PR removes some background and margin properties from the navigation container in the editor for Seedlet. This fixes a bug where the navigation block looks different between the front end and the editor when a background is applied to the block.
It also fixes the following:
Before:
After:
Related issue(s):
Fixes #3684