Repository navigation
fix(web): pad session rows so the hover highlight has room - #38
Merged
Merged
Conversation
Session rows on the home page and a project's page had no horizontal padding, so the hover highlight ended exactly at the arrow (on the home page the arrow's hover nudge pushed it 2px past the edge). The rows get 12px of padding on both sides, which also replaces the status dot's 4px margin. Co-Authored-By: Claude Opus 5.5 <[email protected]>
kalaspuff
deleted the
fctl/13-when-hovering-an-agent-in-the-list-on-ap
branch
October 18, 2026 02:15
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.
Session rows on the home page ("Working now", "Recently") and on a project's page had no horizontal padding. The hover highlight ended exactly where the content did. On the home page, the arrow also slides 2px to the right on hover, so it ended past the highlight's edge. On a project's page it was flush.
The rows now have 12px of padding on both sides (
p-3instead ofpy-3), so the arrow ends 10px inside the hovered row on the home page (12px on a project's page) and the status dot starts 12px in. The padding replaces the dot's 4px margin; with 12px of padding, the dot's pulse stays inside the row without it. The separators and the highlight still span the list's full width, so the list's edges stay in line with the rest of the page. Only the row content moves 12px in.Verification
cargo xtask devwith four fake-claude sessions (three active, one stopped). In Chromium I hovered the first row on the home page and on the Playground project page, in both themes, at 1280px and at a 390px phone width. I measured the hovered row withgetBoundingClientRect:Long titles still truncate at phone width, and the keyboard focus ring is unchanged.
cargo xtask checkpasses.In the light theme the hover fill is almost invisible (
#fbfbfbon#fafafa), on these rows and elsewhere, so the padding mostly shows in the dark theme. That's a separate problem, recorded in #37.Session: https://app.fctl.sh/s/ses_01M56BXM0HKXAFZDEMXPN188ZP