Repository navigation
fix: resolve truncation in <DiffFileHeader /> - #31887
Conversation
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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 83797171b9
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| ? "max-h-[80vh] [&>div]:block!" | ||
| : "max-h-64 [&>div]:block!" |
There was a problem hiding this comment.
Apply the viewport fix to every diff-header caller
When write_file or the generic file viewer renders a long path, its Radix viewport child retains display: table because this override is added only to EditFilesTool. Both callers render the same DiffFileHeader, so the filename can still determine the wrapper's intrinsic width and push the tool card offscreen. Move this override into the shared scrollable/header setup or apply it to WriteFileTool and ToolFileViewer as well.
Useful? React with 👍 / 👎.
Noticed that these can push the diff off the screen.