Summary
Fixes the inability to scroll in the Connect auth config setup dialog (reported for Twitter/OAuth 2.0 which has many credential fields).
The DialogContent base component uses display: grid with implicit auto rows. With a fixed height: 640px and overflow-hidden, the auto grid row expands to fit content, so the form's h-full resolves to the content height rather than the container height. The inner overflow-y-auto div never activates because it never overflows its (oversized) parent — the overflow-hidden on the container then clips everything with no scroll.
Fix: Add grid-rows-1 (grid-template-rows: repeat(1, minmax(0, 1fr))) to cap the grid row at the container's fixed height. Also adds max-h-[90vh] as a viewport safety net for smaller screens.
Review & Testing Checklist for Human
Test Plan
- Navigate to Connect → Apps → Twitter (or any OAuth toolkit with 3+ credential fields)
- Click "Connect" to open the auth config dialog
- Confirm you can scroll through all credential fields and the Scopes section
- Confirm the "Create Auth Config" button is visible at the bottom (sticky footer)
- Resize browser to a short viewport height (~500px) and verify dialog doesn't overflow the screen
Notes
- Could not run lint/typecheck locally due to missing
NPM_TOKEN for private packages — relying on CI for validation
- The fix is CSS-only (single line class addition), no logic changes
Link to Devin session: https://app.devin.ai/sessions/95ff8736f52b422a90979c0606dff09c
Requested by: @palash-c