Skip to content

Commit

Permalink
Patterns: Add a title to the category delete flow and increase line h…
Browse files Browse the repository at this point in the history
…eight (WordPress#59645)

* Add a title to the category delete flow and increase line height

* reset line height

* update the title text

Co-authored-by: scruffian <[email protected]>
Co-authored-by: draganescu <[email protected]>
Co-authored-by: tyxla <[email protected]>
Co-authored-by: jasmussen <[email protected]>
Co-authored-by: mirka <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: talldan <[email protected]>
Co-authored-by: jameskoster <[email protected]>
Co-authored-by: richtabor <[email protected]>
Co-authored-by: getdave <[email protected]>
Co-authored-by: youknowriad <[email protected]>
Co-authored-by: annezazu <[email protected]>
  • Loading branch information
13 people authored and carstingaxion committed Mar 27, 2024
1 parent ff1a5e0 commit 04e2346
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,13 @@ export default function DeleteCategoryMenuItem( { category, onClose } ) {
onCancel={ () => setIsModalOpen( false ) }
confirmButtonText={ __( 'Delete' ) }
className="edit-site-patterns__delete-modal"
title={ sprintf(
// translators: %s: The pattern category's name.
__( 'Delete "%s"?' ),
decodeEntities( category.label )
) }
size="medium"
__experimentalHideHeader={ false }
>
{ sprintf(
// translators: %s: The pattern category's name.
Expand Down

0 comments on commit 04e2346

Please sign in to comment.