forked from WordPress/gutenberg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Button Replace remaining 40px default size violations [Block Edi…
…tor 5] (WordPress#65361) * Fix: inspector control tabs to use 40px default button size * Fix: inspector popover header to use 40px default button size * Fix: link control to use 40px default button size * Fix: list view to use 40px default button size * Fix: media placeholder to use 40px default button size * Add size attribute to inspector popover header and list view * Revert the changes for submit button * Replace button component * Remove override CSS * Remove __next40pxDefaultSize prop Co-authored-by: Marco Ciampini <[email protected]> * Remove __next40pxDefaultSize prop Co-authored-by: Marco Ciampini <[email protected]> --------- Co-authored-by: PARTHVATALIYA <[email protected]> Co-authored-by: getdave <[email protected]> Co-authored-by: mirka <[email protected]> Co-authored-by: ciampo <[email protected]> Co-authored-by: tyxla <[email protected]>
- Loading branch information
1 parent
79a8904
commit e321b5a
Showing
9 changed files
with
45 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,4 +49,6 @@ | |
|
||
.block-editor-block-inspector__tab-item { | ||
flex: 1 1 0px; | ||
display: flex; | ||
justify-content: center; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 0 additions & 13 deletions
13
packages/block-editor/src/components/inspector-popover-header/style.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,3 @@ | ||
.block-editor-inspector-popover-header { | ||
margin-bottom: $grid-unit-20; | ||
} | ||
|
||
[class].block-editor-inspector-popover-header__action { | ||
height: $icon-size; | ||
|
||
&.has-icon { | ||
min-width: $icon-size; | ||
padding: 0; | ||
} | ||
|
||
&:not(.has-icon) { | ||
text-decoration: underline; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters