# Hide markdown code block scrollbar when wrapped \(\#58472\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 623c1719c609dae432ff9411897bd8439e3f70cc

Requested commit: 623c1719c609dae432ff9411897bd8439e3f70cc

Commit: 623c1719c609dae432ff9411897bd8439e3f70cc

Tree: e070a6e9e98e948af981603c54233529a9821ae1

Author: Albert Bogusz

Committer: GitHub

## Message

```
Hide markdown code block scrollbar when wrapped (#58472)

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [ ] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [ ] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Follow up of #57312. Hides the scrollbar (which does not do anything)
when markdown code blocks are wrapped.

Release Notes:

- Fixed the scrollbar on wrapped code blocks in the agent chat.

(As far as I can see the wrap button only exists in the agent chat and
not regular markdown previews.)

---------

Co-authored-by: MrSubidubi <finn@zed.dev>
```

## Parents

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

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