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-24 07:24:54 +00:00
2026-11-19 23:43:59 +00:00
2026-11-24 07:24:54 +00:00
2026-11-23 17:21:43 +00:00
2026-11-23 20:51:31 +00:00
2026-11-19 14:32:00 +00:00
2026-11-24 07:24:54 +00:00
2026-11-23 13:46:17 +00:00
2026-11-19 21:52:55 +00:00
2026-11-23 05:27:26 +00:00
2026-11-19 12:47:09 +00:00
2026-11-23 12:56:08 +00:00
2026-11-18 09:49:23 +00:00
2026-11-23 20:51:31 +00:00
2026-11-18 09:49:23 +00:00
2026-11-19 21:52:55 +00:00
2026-11-23 12:56:08 +00:00
2026-11-20 16:58:42 +00:00
2026-11-19 12:46:48 +00:00
2026-11-20 22:22:28 +00:00
2026-11-19 23:43:59 +00:00
2026-11-19 23:43:59 +00:00
2026-11-23 13:46:17 +00:00
2026-11-19 21:54:28 +00:00
2026-11-19 21:54:28 +00:00
2026-11-23 14:40:35 +00:00
2026-11-23 11:25:22 +00:00
2026-11-19 12:46:48 +00:00
2026-11-23 14:40:35 +00:00
2026-11-23 14:40:35 +00:00
2026-11-23 14:40:35 +00:00
2026-11-20 16:29:57 +00:00
2026-11-19 12:49:12 +00:00
2026-11-19 12:49:12 +00:00
2026-11-23 16:45:31 +00:00
2026-11-23 14:40:35 +00:00
2026-11-19 21:54:28 +00:00
2026-11-14 19:33:53 +00:00
2026-11-20 22:22:28 +00:00
2026-11-19 21:52:55 +00:00
2026-11-23 14:40:35 +00:00
2026-11-19 21:54:28 +00:00
2026-11-15 09:13:12 +00:00
2026-11-19 12:47:09 +00:00
2026-11-19 17:29:39 +00:00
2026-11-23 14:40:35 +00:00
2026-11-24 08:59:19 +00:00
2026-11-23 14:40:35 +00:00
2026-11-23 13:46:17 +00:00
2026-11-24 08:47:50 +00:00
2026-11-22 03:18:59 +00:00
2026-11-19 21:52:55 +00:00
2026-11-23 14:40:35 +00:00
2026-11-22 13:02:39 +00:00
2026-11-23 14:40:35 +00:00
2026-11-23 22:31:15 +00:00
2026-11-23 10:56:34 +00:00
2026-11-23 10:12:25 +00:00
2026-11-23 11:36:44 +00:00
2026-11-24 06:12:54 +00:00
2026-11-19 22:52:43 +00:00
2026-11-19 12:47:09 +00:00
2026-11-19 21:52:55 +00:00
2026-11-19 21:52:55 +00:00
2026-11-23 14:40:35 +00:00
2026-11-23 11:19:51 +00:00
2026-11-19 23:44:25 +00:00
2026-11-19 21:52:55 +00:00
2026-11-19 12:46:48 +00:00
2026-11-20 16:29:57 +00:00
2026-11-20 16:29:57 +00:00
2026-11-23 14:40:35 +00:00
2026-11-24 07:24:54 +00:00
2026-11-23 13:46:17 +00:00
2026-11-18 13:23:57 +00:00
2026-11-23 14:40:35 +00:00
2026-11-23 13:46:17 +00:00
2026-11-23 14:40:35 +00:00
2026-11-18 09:49:23 +00:00
2026-11-20 16:29:57 +00:00
2026-11-19 23:43:59 +00:00
2026-11-23 14:40:35 +00:00
2026-11-23 14:40:35 +00:00
2026-11-19 12:47:09 +00:00
2026-11-20 16:58:42 +00:00
2026-11-19 21:52:55 +00:00
2026-11-20 16:29:57 +00:00
2026-11-19 23:44:25 +00:00
2026-11-20 22:22:28 +00:00
2026-11-19 23:43:59 +00:00
2026-11-20 22:22:28 +00:00
2026-11-23 13:46:17 +00:00
2026-11-22 12:23:01 +00:00
2026-11-19 23:43:59 +00:00
2026-11-20 14:12:45 +00:00
2026-11-23 13:46:17 +00:00
2026-11-19 23:44:25 +00:00
2026-11-19 21:52:55 +00:00
2026-11-19 21:52:55 +00:00
2026-11-19 12:47:09 +00:00
2026-11-19 21:54:18 +00:00
2026-11-23 22:38:01 +00:00
2026-11-23 14:40:35 +00:00
2026-11-19 12:46:48 +00:00
2026-11-23 20:51:31 +00:00
2026-11-23 16:45:31 +00:00
2026-11-23 14:40:35 +00:00
2026-11-22 20:21:18 +00:00
2026-11-23 14:40:35 +00:00
2026-11-22 12:23:01 +00:00
2026-11-23 22:38:01 +00:00
2026-11-20 16:29:57 +00:00
2026-11-19 12:47:09 +00:00
2026-11-18 09:49:23 +00:00
2026-11-24 06:51:24 +00:00
2026-11-24 05:39:29 +00:00
2026-11-19 21:52:55 +00:00
2026-11-20 16:58:42 +00:00
2026-11-23 20:51:31 +00:00
2026-11-24 07:24:54 +00:00
2026-11-19 21:52:55 +00:00
2026-11-20 09:09:38 +00:00
2026-11-23 20:51:31 +00:00
2026-11-23 14:40:35 +00:00
2026-11-23 10:27:18 +00:00
2026-11-19 12:47:09 +00:00
2026-11-19 21:52:55 +00:00
2026-11-23 11:30:41 +00:00
2026-11-19 21:54:18 +00:00
2026-11-19 21:54:28 +00:00
2026-11-19 12:46:48 +00:00
2026-11-23 17:21:43 +00:00
2026-11-23 17:21:43 +00:00
2026-11-21 00:49:01 +00:00
2026-11-19 21:54:18 +00:00
2026-11-19 21:52:55 +00:00
2026-11-19 21:54:18 +00:00
2026-11-20 16:58:42 +00:00
2026-11-22 12:23:01 +00:00
2026-11-23 16:00:01 +00:00
2026-11-19 21:54:18 +00:00
2026-11-23 14:40:35 +00:00
2026-11-19 21:52:55 +00:00
2026-11-23 14:40:35 +00:00
2026-11-19 23:43:59 +00:00
2026-11-20 16:58:42 +00:00
2026-11-20 09:11:01 +00:00
2026-11-24 07:24:54 +00:00
2026-11-20 16:58:42 +00:00
2026-11-19 23:43:59 +00:00
2026-11-23 14:40:35 +00:00
2026-11-19 21:52:55 +00:00