Skip to content

Commit

Permalink
Change wrap location.
Browse files Browse the repository at this point in the history
  • Loading branch information
apeatling committed Jan 30, 2023
1 parent 34aa1f2 commit d8098f8
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions packages/block-library/src/query/edit/pattern-selection-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,24 +63,24 @@ export default function PatternSelectionModal( {
title={ __( 'Choose a pattern' ) }
onRequestClose={ () => setIsPatternSelectionModalOpen( false ) }
>
<BlockContextProvider value={ blockPreviewContext }>
<div className="block-library-query-pattern__selection-content">
<div className="block-library-query-pattern__selection-search">
<SearchControl
__nextHasNoMarginBottom
onChange={ setSearchValue }
value={ searchValue }
label={ __( 'Search for patterns' ) }
placeholder={ __( 'Search' ) }
/>
</div>
<div className="block-library-query-pattern__selection-content">
<div className="block-library-query-pattern__selection-search">
<SearchControl
__nextHasNoMarginBottom
onChange={ setSearchValue }
value={ searchValue }
label={ __( 'Search for patterns' ) }
placeholder={ __( 'Search' ) }
/>
</div>
<BlockContextProvider value={ blockPreviewContext }>
<BlockPatternsList
blockPatterns={ filteredBlockPatterns }
shownPatterns={ shownBlockPatterns }
onClickPattern={ onBlockPatternSelect }
/>
</div>
</BlockContextProvider>
</BlockContextProvider>
</div>
</Modal>
);
}

0 comments on commit d8098f8

Please sign in to comment.