-
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
TabPanel: Add 40px size prop to tab Button #66557
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,12 +7,10 @@ | |
} | ||
} | ||
|
||
// This tab style CSS is duplicated verbatim in | ||
// /packages/edit-post/src/components/sidebar/settings-header/style.scss | ||
Comment on lines
-10
to
-11
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This stylesheet was completely removed in #55360. |
||
.components-tab-panel__tabs-item { | ||
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. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 I'd love it if we can clean those up at some point. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It should be pretty simple to sweep up after the 40px becomes the default. |
||
background: transparent; | ||
border: none; | ||
box-shadow: none; | ||
|
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.
It's a bit of a bummer that this prop is a no-op here due to the style override.