We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77a0b3f commit 75ad8f5Copy full SHA for 75ad8f5
1 file changed
crates/ui_gpui/src/messages/activity_indicator.rs
@@ -22,7 +22,6 @@ pub fn render_pending_message(
22
23
let pending_card = div()
24
.w_full()
25
- .m_3()
26
.bg(cx.theme().muted)
27
.border_1()
28
.border_color(cx.theme().warning)
@@ -61,7 +60,9 @@ pub fn render_pending_message(
61
60
),
62
);
63
64
- pending_card.into_any_element()
+ // Wrap the card in a padding container so its border + shadow sit inset
+ // from the max-width boundary without overflowing via margin.
65
+ div().w_full().p_3().child(pending_card).into_any_element()
66
}
67
68
/// Render the inline activity indicator (braille spinner or rate-limit text).
0 commit comments