# Fix workspace bottom obscured when bottom dock is full height \(\#27689\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 19fb1e1b0d8a31e77741862796e9c3a485b793e6

Requested commit: 19fb1e1b0d8a31e77741862796e9c3a485b793e6

Commit: 19fb1e1b0d8a31e77741862796e9c3a485b793e6

Tree: e485854af5c3a8b4276a5d0ca2a88f55965d45ae

Author: Bibiana André

Committer: GitHub

## Message

```
Fix workspace bottom obscured when bottom dock is full height (#27689)

When dragging the pane separator of the bottom dock to full window
height, the contents at the bottom of the dock and workspace window
overflowed the screen, becoming obscured. This happened because setting
a new size in resize_bottom_dock(...) was not taking in consideration
the top bounds of the workspace window, which caused the bottom bounds
of both dock and workspace to overflow. The issue was fixed by
subtracting the workspace.bounds.top() value to the dock's new size.

Closes #12966

Release Notes:

- N/A
```

## Parents

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

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