Repository navigation
Fix inconsistent complementary header styles - #61331
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. |
|
Size Change: -277 B (-0.02%) Total Size: 1.74 MB
ℹ️ View Unchanged
|
|
Flaky tests detected in 930e082. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/8980435318
|
jasmussen
left a comment
There was a problem hiding this comment.
This mainly needs a code review. CSS looks fine. Nice work.
t-hamano
left a comment
There was a problem hiding this comment.
LGTM! This PR appears to be working as expected. It also works with a plugin sidebar.
Code to test
function MyPluginSidebar() {
return React.createElement(
wp.editor.PluginSidebar,
{
name: 'my-sidebar',
icon: 'admin-post',
title: 'My sidebar title',
},
React.createElement( wp.components.PanelBody, {}, 'My sidebar content' )
);
}
wp.plugins.registerPlugin( 'plugin-sidebar-test', { render: MyPluginSidebar } );
tyxla
left a comment
There was a problem hiding this comment.
Looks good and tests well for me. Thanks 👍
This reverts commit e231cb5.
Co-authored-by: Marin Atanasov <8436925+tyxla@users.noreply.github.com>
48160d0 to
8d3941d
Compare

What?
Reduces displacement of close icon, inconsistent border/tab combinations (fixes #61055) and uses the same icon sizes as in other sidebars.
One part of this is an alternative approach to #61318.
Testing Instructions
Visual
Before
CleanShot.2024-05-02.at.12.09.48.mp4
After
CleanShot.2024-05-02.at.12.09.04.mp4