Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

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

Danilo Leal4137d1adb957
diff --git a/crates/search/src/project_search.rs b/crates/search/src/project_search.rs
index ce894397c37..4055def5b02 100644
--- a/crates/search/src/project_search.rs
+++ b/crates/search/src/project_search.rs
@@ -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)