# thread view: Prevent user message controls to be cut-off \(\#36865\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 2b5a3029727f6aa031f6771add3cc4a8cc85515a

Requested commit: 2b5a3029727f6aa031f6771add3cc4a8cc85515a

Commit: 2b5a3029727f6aa031f6771add3cc4a8cc85515a

Tree: 99a35d94e7b09b80076ea2da9c24d784fe3a546a

Author: Danilo Leal

Committer: GitHub

## Message

```
thread view: Prevent user message controls to be cut-off (#36865)

In the thread view, when focusing on the user message, we display the
editing control container absolutely-positioned in the top right.
However, if there are no rules items and no restore checkpoint button
_and_ it is the very first message, the editing controls container would
be cut-off. This PR fixes that by giving it a bit more top padding.

Release Notes:

- N/A
```

## Parents

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

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