Skip to content

Commit

Permalink
Increase component sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
mirka committed Feb 8, 2024
1 parent 6484da3 commit 54c84e7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ function PostVisibilityToggle( { isOpen, onClick } ) {
const label = usePostVisibilityLabel();
return (
<Button
__next40pxDefaultSize
className="edit-post-post-visibility__toggle"
variant="tertiary"
aria-expanded={ isOpen }
Expand Down
1 change: 1 addition & 0 deletions packages/editor/src/components/post-schedule/panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export default function PostSchedulePanel() {
contentClassName="editor-post-schedule__dialog"
renderToggle={ ( { onToggle, isOpen } ) => (
<Button
__next40pxDefaultSize
className="editor-post-schedule__dialog-toggle"
variant="tertiary"
onClick={ onToggle }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export default function BlockThemeControl( { id } ) {
popoverProps={ POPOVER_PROPS }
focusOnMount
toggleProps={ {
__next40pxDefaultSize: true,
variant: 'tertiary',
} }
label={ __( 'Template options' ) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ function PostTemplateToggle( { isOpen, onClick } ) {

return (
<Button
__next40pxDefaultSize
className="edit-post-post-template__toggle"
variant="tertiary"
aria-expanded={ isOpen }
Expand Down
1 change: 1 addition & 0 deletions packages/editor/src/components/post-url/panel.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ function PostURLToggle( { isOpen, onClick } ) {
const label = usePostURLLabel();
return (
<Button
__next40pxDefaultSize
className="editor-post-url__panel-toggle"
variant="tertiary"
aria-expanded={ isOpen }
Expand Down

0 comments on commit 54c84e7

Please sign in to comment.