# Fix overlapping block headers when using custom line height · gitcafe/zed

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

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

Visibility: public

Requested revision: 1cbdf2ba22b064e53372c5eda56a75caaf49718e

Requested commit: 1cbdf2ba22b064e53372c5eda56a75caaf49718e

Commit: 1cbdf2ba22b064e53372c5eda56a75caaf49718e

Tree: ea1a382184c3825071378ad70008f79d78e3b5d6

Author: Thorsten Ball

Committer: Thorsten Ball

## Message

```
Fix overlapping block headers when using custom line height

This fixes block headers overlapping over text in the buffer when using
a custom line height of 1.25.

It fixes the issue by making the parent container a v-flex,
vertically-justifying the content and moving from relative padding to
absolute padding for the header itself.

Co-authored-by: antonio <antonio@zed.dev>
Co-authored-by: julia <julia@zed.dev>
Co-authored-by: marshall <marshall@zed.dev>

```

## Parents

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

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