Skip to content

Commit 8200467

Browse files
ivicacclaude
andcommitted
4860 client - Fix Connection edit dialog overflow with long OAuth2 parameters
Add min-w-0 to grid items in DialogContent so long client IDs (Google Drive, Gmail) no longer expand the dialog grid track beyond max-w-lg. The existing truncate on ConnectionParameters' <pre> only clips inside the component; the outer grid item still contributed its content's intrinsic min-width to track sizing, pushing the Name input and footer visibly past the dialog box. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 473bbc2 commit 8200467

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

client/src/shared/components/connection/ConnectionDialog.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ const ConnectionDialog = ({
449449

450450
{errors?.length > 0 && <Errors errors={errors} />}
451451

452-
<div className="flex max-h-dialog-height flex-col space-y-4 overflow-y-auto px-6">
452+
<div className="flex max-h-dialog-height min-w-0 flex-col space-y-4 overflow-y-auto px-6">
453453
{connection?.id && currentType === PlatformType.EMBEDDED && (
454454
<FormField
455455
control={control}
@@ -729,7 +729,7 @@ const ConnectionDialog = ({
729729
</div>
730730

731731
{connection?.id && connectionDefinition && (
732-
<div className="px-6 pt-4">
732+
<div className="min-w-0 px-6 pt-4">
733733
<ConnectionParameters
734734
authorizationParameters={connection.authorizationParameters}
735735
authorizationType={connection.authorizationType}

0 commit comments

Comments
 (0)