diff --git a/crates/workspace/src/modal_layer.rs b/crates/workspace/src/modal_layer.rs index e29d2bf7d4ee1e167f3c009edfe2cd133a921e41..660945676cb13017f94cf13e3291c4c3deb872ec 100644 --- a/crates/workspace/src/modal_layer.rs +++ b/crates/workspace/src/modal_layer.rs @@ -193,7 +193,7 @@ impl Render for ModalLayer { .child( h_flex() .occlude() - .child(div().child(active_modal.modal.view())) + .child(active_modal.modal.view()) .on_mouse_down(MouseButton::Left, |_, _, cx| { cx.stop_propagation(); }),