Skip to content

Commit

Permalink
make delete button red
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasbenedetto committed Jan 24, 2024
1 parent b5c7fa4 commit 18dc984
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,15 @@ function Footer( { shouldDisplayDeleteButton, handleUninstallClick } ) {
const { saveFontFamilies, fontFamiliesHasChanges, isInstalling } =
useContext( FontLibraryContext );
return (
<HStack justify="space-between">
<HStack justify="flex-end">
{ isInstalling && <ProgressBar /> }
<div>
{ shouldDisplayDeleteButton && (
<Button variant="tertiary" onClick={ handleUninstallClick }>
<Button
isDestructive
variant="tertiary"
onClick={ handleUninstallClick }
>
{ __( 'Delete' ) }
</Button>
) }
Expand Down

0 comments on commit 18dc984

Please sign in to comment.