Skip to content

git_ui: Fix the Git panel commit message editor ignoring buffer_font_size - #55233

Merged
ChristopherBiscardi merged 1 commit into
zed-industries:mainfrom
GoldStrikeArch:fix/commit-message-to-respect-buffer-font-size
Apr 30, 2026
Merged

git_ui: Fix the Git panel commit message editor ignoring buffer_font_size#55233
ChristopherBiscardi merged 1 commit into
zed-industries:mainfrom
GoldStrikeArch:fix/commit-message-to-respect-buffer-font-size

Conversation

@GoldStrikeArch

Copy link
Copy Markdown
Contributor

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:

  • I've reviewed my own diff for quality, security, and reliability
  • Unsafe blocks (if any) have justifying comments
  • The content is consistent with the UI/UX checklist
  • Tests cover the new/changed behavior
  • Performance impact has been considered and is acceptable

Release Notes:

  • Fixed the Git panel commit message editor ignoring buffer_font_size

@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Apr 29, 2026
@GoldStrikeArch GoldStrikeArch changed the title fix: use buffer_font_size in commit message git_ui: Fix the Git panel commit message editor ignoring buffer_font_size Apr 29, 2026
@SomeoneToIgnore SomeoneToIgnore added the area:integrations/git Git integration feedback label Apr 30, 2026

@ChristopherBiscardi ChristopherBiscardi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome, thanks! This also makes the git commit entry responsive to Cmd-+/- zoom leevls.

@ChristopherBiscardi
ChristopherBiscardi added this pull request to the merge queue Apr 30, 2026
@ChristopherBiscardi ChristopherBiscardi self-assigned this Apr 30, 2026
Merged via the queue into zed-industries:main with commit fffd3e5 Apr 30, 2026
42 checks passed
ebaah46 pushed a commit to ebaah46/zed that referenced this pull request May 6, 2026
…_size` (zed-industries#55233)

Closes zed-industries#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`
@ghost

ghost commented May 13, 2026

Copy link
Copy Markdown

Hi @GoldStrikeArch @ChristopherBiscardi Is it possible to resize only the commit panel font? Because now it looks strange when it is so big when I use the buffer font size with 16.

@amalucelli

Copy link
Copy Markdown

The commit panel font size no longer aligns with the defined font-size styles for other panels. Would be possible to add a new property that allow us to configure the font size there?

jonx pushed a commit to jonx/zed-aros that referenced this pull request Jul 17, 2026
…_size` (zed-industries#55233)

Closes zed-industries#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`
jolutz pushed a commit to jolutz/zed that referenced this pull request Aug 8, 2026
…_size` (zed-industries#55233)

Closes zed-industries#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`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:integrations/git Git integration feedback cla-signed The user has signed the Contributor License Agreement

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Commit message editor in Git Panel ignores buffer_font_size

4 participants