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 <scruffian@git.wordpress.org>
Co-authored-by: draganescu <andraganescu@git.wordpress.org>
Co-authored-by: tyxla <tyxla@git.wordpress.org>
Co-authored-by: jasmussen <joen@git.wordpress.org>
Co-authored-by: mirka <0mirka00@git.wordpress.org>
Co-authored-by: t-hamano <wildworks@git.wordpress.org>
Co-authored-by: talldan <talldanwp@git.wordpress.org>
Co-authored-by: jameskoster <jameskoster@git.wordpress.org>
Co-authored-by: richtabor <richtabor@git.wordpress.org>
Co-authored-by: getdave <get_dave@git.wordpress.org>
Co-authored-by: youknowriad <youknowriad@git.wordpress.org>
Co-authored-by: annezazu <annezazu@git.wordpress.org>
  • 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.