fleet icon indicating copy to clipboard operation
fleet copied to clipboard

Settings › Integrations >IDP: empty-state ghost table overflows horizontally (~230px) at viewport ≤780px

Open Brajim20 opened this issue 5 months ago • 2 comments

Fleet versions

  • Discovered: v4.86.1
  • Reproduced: Live on a running instance (server orbit-v1.56.0-129, current main-dev) via an automated Playwright test

Web browser and operating system: Chromium (Playwright) on macOS


💥 Actual behavior

On Settings → Integrations → Identity provider (IdP) with no IdP connected, the empty state renders a decorative "ghost table" (.empty-state__ghost-table). That ghost table is not responsive — it stays ~684px wide and does not shrink. At narrow viewport widths it pushes the page wider than the viewport, causing horizontal overflow (a horizontal scrollbar; the description text and the right ghost column get clipped).

Measured (automated):

  • Overflow first appears at viewport width ≤ ~780px.
  • At 768px: 230px of horizontal overflow (document.documentElement.scrollWidth = 998 vs clientWidth = 768). The .empty-state__ghost-table is 684px wide with its right edge at 965px.

The ghost table is the culprit — not the layout, not real content. At the same 768px width, sibling Integrations sub-pages on the identical side-nav layout overflow by 0px

Image Image

🛠️ To fix

TODO

🧑‍💻 Steps to reproduce

These steps:

  • [x] Have been confirmed to consistently lead to reproduction (automated Playwright test against a live instance).
  • [ ] Describe the workflow that led to the error, but have not yet been reproduced in multiple Fleet instances.
  1. Log in as a global admin.
  2. Go to Settings → Integrations → Identity provider (IdP) with no IdP connected (the "No IdP connected" empty state with the ghost table).
  3. Narrow the browser window to ≤ ~780px wide (e.g. 768px).
  4. Observe horizontal overflow — a horizontal scrollbar appears and the ghost table / description text is clipped at the right edge. Sibling Integrations pages (Host status webhook, Calendars, MDM, etc.) do not overflow at the same width.

🕯️ More info (optional)

TODO

Brajim20 avatar Jun 07 '26 04:06 Brajim20

✅ Fix Tested & Verified)

Test Results

  • Viewport width: 768px (threshold where overflow was reported)
  • Horizontal overflow: 0px ✅ (previously 230px)
  • scrollWidth: 768px (equals clientWidth - no overflow)
  • Ghost table behavior: Now properly constrains to parent width at narrow viewports ≤780px

Verification

The ghost table flex container now respects the parent's 100% width constraint, preventing the decorative backdrop from pushing content off-screen at narrow viewport widths. The flex children (flex: 1 1 0 and flex: 0 0 66%) properly shrink within the constrained width.

Status: ✅ **PASS **

Brajim20 avatar Jun 27 '26 02:06 Brajim20

Ghost table overflows, Fixed, can view on small screens, Harmony restored.

fleet-release avatar Jul 15 '26 18:07 fleet-release