Skip to content

Commit

Permalink
Increase paddings to 16px
Browse files Browse the repository at this point in the history
  • Loading branch information
mirka committed Mar 14, 2022
1 parent 916720d commit 126c3d9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/components/src/custom-select-control/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,13 @@
// For all button sizes allow sufficient space for the
// dropdown "arrow" icon to display.
&.components-custom-select-control__button {
padding-right: $icon-size + $grid-unit-05;
// TODO: Some of these can be removed after some internal inconsistencies are addressed, such as the chevron
// (https://github.com/WordPress/gutenberg/issues/39400) and Button padding (https://github.com/WordPress/gutenberg/issues/39431)
padding-left: $grid-unit-20;
padding-right: $icon-size + $grid-unit-10;

&:not(.is-next-36px-default-size) {
padding-left: $grid-unit-10;
padding-right: $icon-size;
}
}
Expand Down Expand Up @@ -68,7 +72,7 @@
display: grid;
grid-template-columns: auto auto;
list-style-type: none;
padding: $grid-unit-10 $grid-unit-15;
padding: $grid-unit-10 $grid-unit-20;
cursor: default;
line-height: $icon-size + $grid-unit-05;

Expand Down

0 comments on commit 126c3d9

Please sign in to comment.