Skip to content

Commit

Permalink
Merge pull request #92 from ryanwelcher/feature/reorder-controls
Browse files Browse the repository at this point in the history
Make better decisions.
  • Loading branch information
ryanwelcher authored Dec 5, 2024
2 parents a89c891 + f594072 commit 2d54e63
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions src/components/post-meta-query-controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ export const PostMetaQueryControls = ( { attributes, setAttributes } ) => {
<Button
isSmall
variant="primary"
__next40pxDefaultSize
onClick={ () => {
const newQueries = [
...queries,
Expand All @@ -150,6 +151,8 @@ export const PostMetaQueryControls = ( { attributes, setAttributes } ) => {
>
{ __( 'Add meta query', 'advanced-query-loop' ) }
</Button>
<br />
<br />
</>
</>
);
Expand Down
6 changes: 3 additions & 3 deletions src/variations/controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,15 @@ const withAdvancedQueryControls = ( BlockEdit ) => ( props ) => {
<AQLLegacyControls.Slot
fillProps={ { ...props } }
/>
<PaginationToggle { ...props } />
<MultiplePostSelect { ...props } />
<TaxonomyQueryControl { ...props } />
<PostMetaQueryControls { ...props } />
<PostOrderControls { ...props } />
<PostExcludeControls { ...props } />
<TaxonomyQueryControl { ...props } />
<PostIncludeControls { ...props } />
<ChildItemsToggle { ...props } />
<PostMetaQueryControls { ...props } />
<PostDateQueryControls { ...props } />
<PaginationToggle { ...props } />
<AQLControls.Slot fillProps={ { ...props } } />
</PanelBody>
</InspectorControls>
Expand Down

0 comments on commit 2d54e63

Please sign in to comment.