# git_ui: Fix the Git panel commit message editor ignoring \`buffer_font_size\` \(\#55233\) · gitcafe/zed

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

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

Visibility: public

Requested revision: fffd3e55cb8ebbb2def5cc7eb3530138f17ccfea

Requested commit: fffd3e55cb8ebbb2def5cc7eb3530138f17ccfea

Commit: fffd3e55cb8ebbb2def5cc7eb3530138f17ccfea

Tree: bf3b03ee66a620dfa5e256689a62fa9981fa9566

Author: Mikhail Pertsev

Committer: GitHub

## Message

```
git_ui: Fix the Git panel commit message editor ignoring `buffer_font_size` (#55233)

Closes #55227

Updates the Git panel commit message editor to respect the configured
`buffer_font_size` when using buffer/editor typography. This keeps the
commit box visually consistent with other editor text while preserving
the existing UI-font sizing path for non-buffer panel editor styles.

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 is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- Fixed the Git panel commit message editor ignoring `buffer_font_size`
```

## Parents

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

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