Make project search landing page scrollable if too small (#21338)

Address
https://github.com/zed-industries/zed/issues/21317#issuecomment-2508011556


https://github.com/user-attachments/assets/089844fc-a485-44a6-8e8b-d294f28e9ea2

Release Notes:

- N/A
This commit is contained in:
Danilo Leal 2024-11-29 12:45:08 -03:00 committed by GitHub
parent 1903a29cca
commit 4137d1adb9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -371,6 +371,8 @@ impl Render for ProjectSearchView {
.track_focus(&self.focus_handle(cx))
.child(
v_flex()
.id("project-search-landing-page")
.overflow_y_scroll()
.max_w_80()
.gap_1()
.child(heading_text)