# git: Fix a couple of bugs with buffer headers in the side-by-side diff UI \(\#47809\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 8bdfbfe5918316f5b8434240f9e55ad136e5531b

Requested commit: 8bdfbfe5918316f5b8434240f9e55ad136e5531b

Commit: 8bdfbfe5918316f5b8434240f9e55ad136e5531b

Tree: e9eec812b123526e6f4cf8cb87994605d8881704

Author: Cole Miller

Committer: GitHub

## Message

```
git: Fix a couple of bugs with buffer headers in the side-by-side diff UI (#47809)

- Fix sticky buffer header being painted on top of the toolbar
- Fix buffer header click handlers and tooltips sometimes not working
(element ID collision issue)
- Deduplicate buffer header rendering code between split and normal
editors

Release Notes:

- N/A
```

## Parents

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

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