Skip to content

Fix display scaling scroll issue in connector integration - #346

Open
manavshrivastavagit wants to merge 1 commit into
andrewyng:mainfrom
manavshrivastavagit:feature/display-scroll-fix
Open

Fix display scaling scroll issue in connector integration#346
manavshrivastavagit wants to merge 1 commit into
andrewyng:mainfrom
manavshrivastavagit:feature/display-scroll-fix

Conversation

@manavshrivastavagit

Copy link
Copy Markdown

Summary

Fixes #321 — connector integration content is cut off at increased display scales with no scrollbar.

Root cause

The .app\ grid (\display: grid; overflow: hidden) contains <main>\ elements as grid items. These grid items had default \min-height: auto, causing them to grow beyond the viewport when content was tall (e.g., at non-default display scaling). Since the parent grid has \overflow: hidden, the overflow was silently clipped with no scrollbar appearing.

Adding \min-h-0\ (\min-height: 0) allows the grid items to shrink below their intrinsic content height, letting the inner \overflow-y-auto\ div properly constrain and scroll.

Changes

  • \IntegrationsView.tsx\ - add \min-h-0\ to <main>\
  • \SettingsView.tsx\ - same fix (identical layout pattern)
  • \ScheduledView.tsx\ - same fix
  • \AuditView.tsx\ - same fix
  • \InboxView.tsx\ - same fix

Testing

  • Verified scrolling works at default display scaling
  • The fix allows the inner scroll container to correctly constrain when display scaling increases content size

…iews

Add min-h-0 to <main> elements across surface views to fix CSS grid
overflow clipping at non-default display scales.

Root cause: the .app grid's <main> items had default min-height: auto,
causing them to grow beyond the viewport when content was tall (e.g.,
increased display scaling). Since .app has overflow: hidden, the
overflow was silently clipped with no scrollbar. Adding min-h-0
(min-height: 0) allows grid items to shrink below their intrinsic
content height, letting the inner overflow-y-auto div properly
constrain and scroll.

Fixes andrewyng#321
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

display scaling affects app: connector integration doesn't allow scrolling, cannot use the EMAIL integration.

1 participant