Revert "Improve completion, action and shared project popovers' layout" (#4233)
Reverts zed-industries/zed#4226 Unfortunately there where some worse states possible after this PR. Reverting until after the launch, as the problems it addresses are still bad. 
This commit is contained in:
commit
be4d314858
5 changed files with 11 additions and 44 deletions
|
@ -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({
|
||||
|
|
|
@ -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| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue