Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
👁️🗨️ Review this pull request with grouped, summarized diffs at: raw result💭 analyzed by {
"headSha": "74f9dba34c1ff5f3a0075b806ce43d21b9ff2a48",
"result": {
"overallSummary": "Small CSS fix: the onboarding button/panel host element was taking up layout space despite its children being fixed-positioned, causing a blank strip and unwanted scroll on viewport-filling pages. The fix pins the host itself with `position: fixed`, reusing the existing floating z-index layer.",
"groups": [
{
"key": "fix-host-layout",
"label": "Fix host layout",
"summary": "Pins the onboarding widget's host element with a fixed position so it no longer occupies space in normal document flow, preventing the extra scroll/blank space it previously added to pages that exactly fill the viewport.",
"category": "ui",
"filePaths": [
"packages/hub-ui-onboard/src/client/style.css"
],
"lineNotes": [
{
"path": "packages/hub-ui-onboard/src/client/style.css",
"side": "additions",
"line": 6,
"text": "The `:host` rule takes the element out of layout flow entirely; relies on `z-floating-anchor` to keep it above host-app content with its own stacking context."
}
]
}
],
"schemaVersion": 1,
"source": "llm",
"generatedAt": "2026-11-28T07:16:24.125Z",
"model": "vercel-ai-gateway/anthropic/claude-sonnet-5",
"locale": "en"
}
} |
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #510
Summary
On a page that exactly fills the viewport, mounting the onboarding button adds a blank line below the app and makes the page scroll. The button and panel already use fixed positioning, but their host element still takes up space in the document.
Give the host a fixed position at the bottom left and reuse the button’s floating layer. This keeps the button clickable when the app uses a positioned container with its own z-index.
Evidence
Both screenshots show the same 720px viewport after scrolling to the bottom.
In Chromium, the panel opened on click and closed with Escape at both 390px and 1280px widths. On a 1600px page, the button stayed clickable above a fixed footer after scrolling 500px.
Merge Danger
Door: Two-way. Reverting the host rule restores the previous layout.
Blast Radius: Onboarding. A stacking error could put the install button behind the app.