Repository navigation
fix(web): a long command stays inside its approval card when opened - #293
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: 951843ac-23d3-4d04-bd3c-578fae3a7506) |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This branch was successfully 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.
Opening an answered approval card in a bot's chat could spill past the card's right edge. A command with a long path, such as a
uv runheredoc reading a file under~/.hexbot/runtime/sessions/…, ran off the side instead of scrolling, and the reason under it wrapped wider than the card.The card's details unfold inside
.hex-unfold, a grid used for the height animation. Its implicitautocolumn grew to the longest unbreakable line, so the<pre>'soverflow-autonever applied. The column is nowminmax(0, 1fr), so it fits its container: the command scrolls inside its box and the reason wraps at the card's width. The same rule also keeps a long line in a step's details in work status from widening it.Checked with a reproduction of the card's layout before and after, and Prettier on
tokens.css.Council review
Rounds: 1
Created with Claude Opus 5.5 in Antigravity.
Note
Low Risk
Single CSS layout tweak for unfold/fold grids with no logic or API changes.
Overview
Fixes approval cards and other
.hex-unfold/.hex-foldsections overflowing when expanded content includes long unbreakable lines (e.g. commands in<pre>).Those grids used the default implicit
autocolumn, which sized to the longest line and bypassed horizontal scrolling on the card. They now usegrid-template-columns: minmax(0, 1fr)so the column respects the parent width: command blocks scroll inside the card and surrounding text wraps at the card edge. A short comment intokens.cssdocuments the behavior.Reviewed by Cursor Bugbot for commit ef35978. Bugbot is set up for automated code reviews on this repo. Configure here.