Revert "Improve completion, action and shared project popovers' layout"

This commit is contained in:
Mikayla Maki 2024-01-23 15:26:11 -08:00 committed by GitHub
parent b20b1d446f
commit 9f6072c6b6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 11 additions and 44 deletions

View file

@ -125,7 +125,7 @@ impl Render for IncomingCallNotification {
cx.set_rem_size(ui_font_size);
h_flex().flex_grow().size_full().font(ui_font).child(
div().size_full().font(ui_font).child(
CollabNotification::new(
self.state.call.calling_user.avatar_uri.clone(),
Button::new("accept", "Accept").on_click({

View file

@ -129,7 +129,7 @@ impl Render for ProjectSharedNotification {
cx.set_rem_size(ui_font_size);
h_flex().flex_grow().size_full().font(ui_font).child(
div().size_full().font(ui_font).child(
CollabNotification::new(
self.owner.avatar_uri.clone(),
Button::new("open", "Open").on_click(cx.listener(move |this, _event, cx| {