From 0578c1bdae18f3d1321d2452d2e7c2cfd9516733 Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Fri, 19 Jan 2024 11:46:28 -0500 Subject: [PATCH] Style notifications for notification panel (#4163) This PR styles the notifications for the notification panel. These are the notification toasts you receive when you have a new notification (e.g., a mention in chat): Screenshot 2024-01-19 at 11 39 16 AM Release Notes: - Improved the look of toasts for incoming notifications. --- crates/collab_ui/src/notification_panel.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/collab_ui/src/notification_panel.rs b/crates/collab_ui/src/notification_panel.rs index b30f8d15f0..6f4ee1baae 100644 --- a/crates/collab_ui/src/notification_panel.rs +++ b/crates/collab_ui/src/notification_panel.rs @@ -713,6 +713,9 @@ impl Render for NotificationToast { h_flex() .id("notification_panel_toast") + .elevation_3(cx) + .p_2() + .gap_2() .children(user.map(|user| Avatar::new(user.avatar_uri.clone()))) .child(Label::new(self.text.clone())) .child(