Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
ui_prompt: Fix prompt dialog is hard to see on large screen (#35348)
Smit Barmase794ade8b6dd9
diff --git a/crates/ui_prompt/src/ui_prompt.rs b/crates/ui_prompt/src/ui_prompt.rsindex 3ba0bada0a0..fe6dc5b3f4a 100644--- a/crates/ui_prompt/src/ui_prompt.rs+++ b/crates/ui_prompt/src/ui_prompt.rs@@ -190,24 +190,28 @@ impl Render for ZedPromptRenderer {}),));- div().size_full().occlude().child(- div()- .size_full()- .absolute()- .top_0()- .left_0()- .flex()- .flex_col()- .justify_around()- .child(- div()- .w_full()- .flex()- .flex_row()- .justify_around()- .child(prompt),- ),- )+ div()+ .size_full()+ .occlude()+ .bg(gpui::black().opacity(0.2))+ .child(+ div()+ .size_full()+ .absolute()+ .top_0()+ .left_0()+ .flex()+ .flex_col()+ .justify_around()+ .child(+ div()+ .w_full()+ .flex()+ .flex_row()+ .justify_around()+ .child(prompt),+ ),+ )}}