# editor: Fix vertical scroll margin not accounting for file header height \(\#43521\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 0713ddcabc1f691cf89be7d564e4a2afdfeeac17

Requested commit: 0713ddcabc1f691cf89be7d564e4a2afdfeeac17

Commit: 0713ddcabc1f691cf89be7d564e4a2afdfeeac17

Tree: 6211cd226b33cec3bb38e74edb29347674119621

Author: Mayank Verma

Committer: GitHub

## Message

```
editor: Fix vertical scroll margin not accounting for file header height (#43521)

Closes #43178

Release Notes:

- Fixed vertical scroll margin not accounting for file header height

Here's the before/after:

With `{ "vertical_scroll_margin": 0 }` in `~/.config/zed/settings.json`


https://github.com/user-attachments/assets/418c6d7f-de0f-4da6-a038-69927b1b8b88
```

## Parents

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

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