From 9943edda290a0ea66f7d9476c9ca77712351a53e Mon Sep 17 00:00:00 2001 From: Aki Hamano Date: Tue, 17 Mar 2026 22:39:35 +0900 Subject: [PATCH] Connectors: fix button size --- packages/connectors/src/connector-item.tsx | 12 +++++++++--- routes/connectors-home/default-connectors.tsx | 6 +----- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/packages/connectors/src/connector-item.tsx b/packages/connectors/src/connector-item.tsx index bb9f35954dda66..e1c9d259a65ffc 100644 --- a/packages/connectors/src/connector-item.tsx +++ b/packages/connectors/src/connector-item.tsx @@ -211,9 +211,15 @@ export function DefaultConnectorSettings( { /> { readOnly ? ( onRemove && ( - + + + ) ) : ( diff --git a/routes/connectors-home/default-connectors.tsx b/routes/connectors-home/default-connectors.tsx index 2f1923f897c7fc..ede4c4a7dfcfba 100644 --- a/routes/connectors-home/default-connectors.tsx +++ b/routes/connectors-home/default-connectors.tsx @@ -201,11 +201,7 @@ function ApiKeyConnector( { ? 'tertiary' : 'secondary' } - size={ - isExpanded || isConnected - ? undefined - : 'compact' - } + size="compact" onClick={ handleActionClick } disabled={ pluginStatus === 'checking' || isBusy } isBusy={ isBusy }