Files
zed/crates
Parker Loflin d990d327bc git_ui: Keep vertical padding in the wrapped panel header (#67388)
## Summary

When the Git panel is narrow, its header wraps and the top row's hover
background touches the tab bar. The header now has vertical padding. Its
single-row height doesn't change.

Closes #67351

## Testing

- To reproduce, narrow the Git panel until its header wraps, then hover
**Uncommitted**.
- Tested on Linux. The hover background clears the tab bar when the
header wraps, and the unwrapped panel is pixel-identical to `main`.
- `cargo test -p git_ui --lib` and `./script/clippy -p git_ui` pass.
- This is a one-line layout change, so it has no automated test.

## Self-review

- [x] I've reviewed my diff for quality, security, reliability, and
performance.
- [x] UI changes follow the
[checklist](https://zed.dev/docs/development/ui-checklist).
- [ ] Tests cover the new or changed behavior.

Release Notes:

- Fixed Git panel header buttons touching the tab bar when the header
wraps



https://github.com/user-attachments/assets/4e9ae182-cb6e-414f-af39-f5e220e15805
2026-11-24 08:59:19 +00:00
..
…
2026-11-23 11:19:51 +00:00
…
…