Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions packages/connectors/src/connector-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -211,9 +211,15 @@ export function DefaultConnectorSettings( {
/>
{ readOnly ? (
onRemove && (
<Button variant="link" isDestructive onClick={ onRemove }>
{ __( 'Remove and replace' ) }
</Button>
<HStack justify="flex-start">
<Button
variant="link"
isDestructive
onClick={ onRemove }
>
{ __( 'Remove and replace' ) }
</Button>
</HStack>
)
) : (
<HStack justify="flex-start">
Expand Down
6 changes: 1 addition & 5 deletions routes/connectors-home/default-connectors.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -201,11 +201,7 @@ function ApiKeyConnector( {
? 'tertiary'
: 'secondary'
}
size={
isExpanded || isConnected
? undefined
: 'compact'
}
size="compact"
onClick={ handleActionClick }
disabled={ pluginStatus === 'checking' || isBusy }
isBusy={ isBusy }
Expand Down
Loading