# project_search: Ensure filter row aligns with other search rows \(\#29886\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 0119b66426c112dd14afa0ff67e7176671b5d2fe

Requested commit: 0119b66426c112dd14afa0ff67e7176671b5d2fe

Commit: 0119b66426c112dd14afa0ff67e7176671b5d2fe

Tree: 8b677c7d15763d2d74affaa3801428cd3430bfca

Author: Finn Evers

Committer: GitHub

## Message

```
project_search: Ensure filter row aligns with other search rows (#29886)

Closes #29858 

This PR fixes the alignment-issue for the project saerch for cases where
the horizontally available space is large.

The issue arose because the two smaller editors within one line were
allowed to grow as much as the other editors on separate lines, up to
1200 pixels. However, these two editors should together only take up
1200 pixels at maximum, including the gap between them. To fix this, the
editors now live within one container element that grows at the same
rate as the other editors whilst allowing both editors to flex grow as
needed in the available space.

Current main:


https://github.com/user-attachments/assets/622016dc-70e5-455f-a7ba-5b69405d7e1e

This PR: 


https://github.com/user-attachments/assets/5244abf7-f0c0-4781-acb7-b774638d8a17

Release Notes:

- Improved project search input field alignment.
```

## Parents

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

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