mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-05 02:20:10 +00:00
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:
parent
01f06f96a1
commit
0578c1bdae
1 changed files with 3 additions and 0 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue