# Fix expanded commit editor \(\#60368\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 2f1caadd387f403f675a131e2841d1f85e465bf3

Requested commit: 2f1caadd387f403f675a131e2841d1f85e465bf3

Commit: 2f1caadd387f403f675a131e2841d1f85e465bf3

Tree: 71774f4d692a2447a13b525b25cab10b16612303

Author: Zak Nesler

Committer: GitHub

## Message

```
Fix expanded commit editor (#60368)

This is a simple follow-up to #60331, the commit message in the expanded
view got messed up and was being shrunken and centered instead of taking
up the full height of the git panel.

All it needed was a `.h_full()`:

<details>
  <summary>Click to view showcase</summary>

### Before
<img width="652" height="758"
alt="file-6d7f3fd7a5de8cff5ea44c0dfbaf0ac5"
src="https://github.com/user-attachments/assets/85dca75c-7528-4876-9154-0145272c5029"
/>

### After
<img width="662" height="761"
alt="file-268420a52e7b967fc09d10007d6aa1e5"
src="https://github.com/user-attachments/assets/f39ea70b-d0a9-40e6-bb20-20cd3508ad66"
/>

</details>

@danilo-leal 

## Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content adheres to Zed's UI standards
([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
and
[icon](https://github.com/zed-industries/zed/blob/main/crates/icons/README.md)
guidelines)
- [ ] ~~Tests cover the new/changed behavior~~
- [x] Performance impact has been considered and is acceptable

---

Release Notes:

- N/A
```

## Parents

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

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