# workspace: Fix pinned tab causing resize loop on adjacent tab \(\#41884\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 03fad4b951a28257949db7112a1b06305f8a89ab

Requested commit: 03fad4b951a28257949db7112a1b06305f8a89ab

Commit: 03fad4b951a28257949db7112a1b06305f8a89ab

Tree: 512225af4a6bd8d32b5e9a8f0c122645441043d5

Author: Abul Hossain Khan

Committer: GitHub

## Message

```
workspace: Fix pinned tab causing resize loop on adjacent tab (#41884)

Closes #41467 

My first PR in Zed, any guidance or tips are appreciated.

This fixes the flickering/resize loop that occurred on the tab
immediately to the right of a pinned tab.

Removed the conditional border on the pinned tabs container. The border
was a visual indicator to show when unpinned tabs were scrolled, but it
wasn't essential and was causing the layout thrashing.

Release Notes:

- Fixed

---------

Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
```

## Parents

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

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