Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions app/src/ai/blocklist/inline_action/requested_action.rs
Original file line number Diff line number Diff line change
Expand Up @@ -454,9 +454,15 @@ fn render_requested_action_row_for_element(
// in Align, because Align always reports the full constraint width, which would
// inflate the text row and force the button to a new line unconditionally.
if has_action_button {
text_row.add_child(Shrinkable::new(1., element).finish());
text_row.add_child(Shrinkable::new(1., Clipped::new(element).finish()).finish());
} else {
text_row.add_child(Shrinkable::new(1., Align::new(element).left().finish()).finish());
text_row.add_child(
Shrinkable::new(
1.,
Clipped::new(Align::new(element).left().finish()).finish(),
)
.finish(),
);
}

let content = if let Some(action_button) = action_button {
Expand Down