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):

<img width="423" alt="Screenshot 2024-01-19 at 11 39 16 AM"
src="https://github.com/zed-industries/zed/assets/1486634/a1fc7a67-5aad-4cb2-8dc9-35d302984fcb">

Release Notes:

- Improved the look of toasts for incoming notifications.
This commit is contained in:
Marshall Bowers 2024-01-19 11:46:28 -05:00 committed by GitHub
parent 01f06f96a1
commit 0578c1bdae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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(