Skip to content

fix(ui): prevent filename and diff count overlap in session changes#14773

Merged
adamdotdevin merged 1 commit intodevfrom
fix/session-review-overlap-14752
Feb 26, 2026
Merged

fix(ui): prevent filename and diff count overlap in session changes#14773
adamdotdevin merged 1 commit intodevfrom
fix/session-review-overlap-14752

Conversation

@nexxeln
Copy link
Member

@nexxeln nexxeln commented Feb 23, 2026

Issue for this PR

Closes #14752

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Fixes a layout bug in the Session changes sidebar where long paths could overlap the diff count when the pane is narrow.

The change is scoped to packages/ui/src/components/session-review.css:

  • allows the left filename section to shrink (min-width: 0)
  • clips overflowing name content and applies ellipsis
  • keeps right-side actions/counts pinned (margin-left: auto, non-shrinking actions)

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@adamdotdevin adamdotdevin force-pushed the fix/session-review-overlap-14752 branch from 1cc6cd3 to 6b885de Compare February 26, 2026 17:01
@adamdotdevin adamdotdevin merged commit a0b3bbf into dev Feb 26, 2026
9 checks passed
@adamdotdevin adamdotdevin deleted the fix/session-review-overlap-14752 branch February 26, 2026 21:42
adamdotdevin added a commit that referenced this pull request Feb 27, 2026
jonathanmiddleton pushed a commit to jonathanmiddleton/opencode that referenced this pull request Mar 10, 2026
jonathanmiddleton pushed a commit to jonathanmiddleton/opencode that referenced this pull request Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenCode Web - Modifed Line count overlaps with the file name

2 participants