Files
oak-gpui/crates
Thorsten Ball 3d041f4e91 Fix overlapping block headers when using custom line height (#4071)
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.

## Before/After

With setting:
```json
  "buffer_line_height": {
    "custom": 1.25
  },
```

### Before

![screenshot-2024-01-16-16 48
48@2x](https://github.com/zed-industries/zed/assets/1185253/8c3b977e-333f-403c-a4d3-0911f3fac5e0)

### After

![screenshot-2024-01-16-16 50
13@2x](https://github.com/zed-industries/zed/assets/1185253/2d854eba-c4c4-4bce-b60b-dd250856b08f)

### Release notes
Release Notes:

- Fixed headers in multi-buffers overlapping over content of the buffer
2024-01-16 17:27:36 +01:00
..
2024-01-08 16:53:01 -07:00
2024-01-03 12:59:39 -08:00
2024-01-15 20:22:47 -05:00
2024-01-03 12:59:39 -08:00
2024-01-15 16:26:04 -05:00
2024-01-03 12:59:39 -08:00
2024-01-03 12:59:39 -08:00
2024-01-12 20:10:40 -08:00
2024-01-03 12:59:39 -08:00
2024-01-15 16:26:04 -05:00
2024-01-03 12:59:39 -08:00
2024-01-02 00:04:51 +01:00
2024-01-03 12:59:39 -08:00
2024-01-03 20:02:23 -05:00
2024-01-03 12:59:39 -08:00
2024-01-12 20:10:40 -08:00
2024-01-12 20:10:40 -08:00
2024-01-14 13:54:10 -07:00
2024-01-12 20:10:40 -08:00
2024-01-12 20:10:40 -08:00
2024-01-01 23:56:04 +01:00
2024-01-15 16:26:04 -05:00
2024-01-09 14:16:46 -08:00
2024-01-15 16:26:04 -05:00
2024-01-15 16:36:24 -05:00
2024-01-15 16:36:24 -05:00
2024-01-03 12:59:39 -08:00