This repository was archived by the owner on Aug 6, 2026. It is now read-only.
Fix Home "Running" strip cards clipped on hover - #3683
Closed
puemos wants to merge 1 commit into
Closed
Conversation
The cards in the Home "Running" agents strip lift up on hover (hover:-translate-y-px + hover:shadow-sm), but they sat flush against the top of the horizontal ScrollArea, which clips vertical overflow. On hover the card's top edge and title text were cropped. Add top padding (pt-1) to the scroll content so the lifted card and its shadow stay inside the ScrollArea's clip box, preserving the hover affordance. Generated-By: PostHog Code Task-Id: 97ebead6-4f61-4859-908e-a2048e74180e
|
Merging to
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here |
|
React Doctor found no issues in the changed files. 🎉 Reviewed by React Doctor for commit |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Problem
Why: A task card in the Home "Running" agents strip was visibly clipped — the top of the card (and its title text) got cut off on hover.
The cards lift up on hover (
hover:-translate-y-px+hover:shadow-sm) as an affordance, but they sat flush against the top of the horizontalScrollArea, which clips vertical overflow. So the moment a card lifted, its top edge and title were cropped.Changes
Add top padding (
pt-1) to the strip's scroll content inHomeActiveAgentsStrip.tsxso the lifted card and its shadow stay inside theScrollArea's clip box. One-line className change; the hover animation is preserved.How did you test this?
pnpm --filter @posthog/ui typecheck— passes.biome checkon the changed file — clean.Visual QA in the running app (hover a running card, confirm the top is no longer clipped) still recommended before merge.
Automatic notifications
Created with PostHog Code