# git_graph: Fix long commit message overflow in detail panel \(\#61163\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/94e59ce2f83a3aaaf80efa2fd2c6a033994b0b34)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 94e59ce2f83a3aaaf80efa2fd2c6a033994b0b34

Requested commit: 94e59ce2f83a3aaaf80efa2fd2c6a033994b0b34

Commit: 94e59ce2f83a3aaaf80efa2fd2c6a033994b0b34

Tree: 0ba6beae229f1fc803f50937ac9d3ef35647f5db

Author: Shuhei Kadowaki

Committer: GitHub

## Message

```
git_graph: Fix long commit message overflow in detail panel (#61163)

Follow-up to zed-industries/zed#60721.

The Taffy 0.12 upgrade exposed that the message height limit was applied
to its grid parent while percentage-sized children retained the Markdown
content's intrinsic height. Long messages therefore painted over the
changed-files summary instead of scrolling.

Move the height limit to the scroll container itself, matching the
commit view. Add a GPUI regression test that verifies the viewport stays
bounded, remains scrollable, and does not overlap the changed-files
list.

> On `main`:
<img width="697" height="873" alt="Screenshot 2026-07-17 at 14 59 21"
src="https://github.com/user-attachments/assets/51e6cc0e-aeac-4ad1-a6af-2120efcef901"
/>

---

Release Notes:

- N/A
```

## Parents

- [9552acc2bc242d45342fa9b5a987d43868aee1ec](https://git.cafe/gitcafe/zed/commit/9552acc2bc242d45342fa9b5a987d43868aee1ec?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/94e59ce2f83a3aaaf80efa2fd2c6a033994b0b34?format=markdown)
