-
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
Fix editor inserter tabs indicator #61973
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
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.
This fixes it for me 👍 Thanks. 🚀
Can you please rebase to the latest trunk
before merging?
Also, I'd appreciate some more structured details in the PR (what/why/how) and testing instructions in the future. Following the default template is generally good practice and can help contributors orient themselves in the details of each change.
…ix/editor-inserted-tabs-indicator
Size Change: +4 B (0%) Total Size: 1.74 MB
ℹ️ View Unchanged
|
Flaky tests detected in f876fd5. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/9270714451
|
Co-authored-by: DaniGuardiola <daniguardiola@git.wordpress.org> Co-authored-by: tyxla <tyxla@git.wordpress.org>
Co-authored-by: DaniGuardiola <daniguardiola@git.wordpress.org> Co-authored-by: tyxla <tyxla@git.wordpress.org>
Context: #60560 (comment)
#60560 introduced a minor layout change in the Tabs component that broke the inserter tabs indicator (hacky CSS overrides at it again :P). This PR fixes this.
Before:
After:
chrome_DItpzeDWwt.mp4
Specifically, the tabs indicator needs to overlap the lower border. The layout changes in #60560 made the negative margin that achieved this not work anymore. This PR fixes it to overlap again, as can be seen in the before and after images.