Repository navigation
TabPanel: Add 40px size prop to tab Button - #66557
Conversation
| // This tab style CSS is duplicated verbatim in | ||
| // /packages/edit-post/src/components/sidebar/settings-header/style.scss |
There was a problem hiding this comment.
This stylesheet was completely removed in #55360.
|
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: +14 B (0%) Total Size: 1.81 MB
ℹ️ View Unchanged
|
| ) }-view` } | ||
| render={ | ||
| <Button | ||
| __next40pxDefaultSize |
There was a problem hiding this comment.
It's a bit of a bummer that this prop is a no-op here due to the style override.
| position: relative; | ||
| border-radius: 0; | ||
| height: $grid-unit-60; | ||
| height: $grid-unit-60 !important; // https://github.com/WordPress/gutenberg/pull/65075#discussion_r1746282734 |
There was a problem hiding this comment.
👍 I'd love it if we can clean those up at some point.
There was a problem hiding this comment.
It should be pretty simple to sweep up after the 40px becomes the default.
* TabPanel: Add 40px size prop to tab Button * Add changelog Co-authored-by: mirka <0mirka00@git.wordpress.org> Co-authored-by: tyxla <tyxla@git.wordpress.org>
In preparation for #65751
What?
Adds
__next40pxDefaultSizeprop to the Button in TabPanel.Testing Instructions
See the TabPanel story in Storybook. There should be no visual changes.