Skip to content

Commit

Permalink
Use __next40pxDefaultSize on more UI (#54400)
Browse files Browse the repository at this point in the history
* Add 40 size to page attributes parent

* Add 40 size to page-list block

* Add 40 size to term selector

* Add 40 size to PostAuthorCombobox
  • Loading branch information
richtabor authored Sep 13, 2023
1 parent 6e9c1d3 commit 3e497b3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-library/src/page-list/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ export default function PageListEdit( {
{ pagesTree.length > 0 && (
<PanelBody>
<ComboboxControl
__next40pxDefaultSize
className="editor-page-attributes__parent"
label={ __( 'Parent page' ) }
value={ parentPageID }
Expand Down
1 change: 1 addition & 0 deletions packages/editor/src/components/page-attributes/parent.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ export function PageAttributesParent() {
return (
<ComboboxControl
__nextHasNoMarginBottom
__next40pxDefaultSize
className="editor-page-attributes__parent"
label={ parentPageLabel }
value={ parentPostId }
Expand Down
1 change: 1 addition & 0 deletions packages/editor/src/components/post-author/combobox.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ function PostAuthorCombobox() {
return (
<ComboboxControl
__nextHasNoMarginBottom
__next40pxDefaultSize
label={ __( 'Author' ) }
options={ authorOptions }
value={ authorId }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ export function FlatTermSelector( { slug } ) {
return (
<>
<FormTokenField
__next40pxDefaultSize
value={ values }
suggestions={ suggestions }
onChange={ onChange }
Expand Down

0 comments on commit 3e497b3

Please sign in to comment.