ui_prompt: Fix prompt dialog is hard to see on large screen (#35348)

Closes #18516

Release Notes:

- Improved visibility of prompt dialog on Linux by dimming the
background.
This commit is contained in:
Smit Barmase 2025-07-30 23:03:53 +05:30 committed by GitHub
parent f4bd524d7f
commit 794ade8b6d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -190,7 +190,11 @@ impl Render for ZedPromptRenderer {
}),
));
div().size_full().occlude().child(
div()
.size_full()
.occlude()
.bg(gpui::black().opacity(0.2))
.child(
div()
.size_full()
.absolute()