# agent: Keep horizontal scrollbar in edit file tool cards \(\#31510\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b5c2b25a76060a23b4643bdb635424d99e96257f

Requested commit: b5c2b25a76060a23b4643bdb635424d99e96257f

Commit: b5c2b25a76060a23b4643bdb635424d99e96257f

Tree: a831dd466c68b6a81f5bb98a20045e18fe052f2d

Author: Ben Brandt

Committer: GitHub

## Message

```
agent: Keep horizontal scrollbar in edit file tool cards (#31510)

Previously disabled both scrollbars, but horizontal scrolling is still
needed when
lines exceed the viewport width. Now editors can disable a single scroll
axis, not just both.

Release Notes:

- N/A
```

## Parents

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

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