# project panel: Fix alignment of entries overflowing the panel\. \(\#10676\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 06987edadb8ad13ab44908138836070990aa7110

Requested commit: 06987edadb8ad13ab44908138836070990aa7110

Commit: 06987edadb8ad13ab44908138836070990aa7110

Tree: 7e50643ba90b4e9c29ab7da68ec0368dc3fed889

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
project panel: Fix alignment of entries overflowing the panel. (#10676)

With file icons turned off, we still reserve space for an icon and make
it invisible. However, that space was marked as flex, which made it
shrink in case subsequent file name could not fit in the current width
of the project panel. Fixes #10622



https://github.com/zed-industries/zed/assets/24362066/d565a03a-3712-49d1-bf52-407e4508a8cf


Release Notes:


- Fixed project panel entries misalignment with narrow panel & file
icons turned off.
```

## Parents

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

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