From 9d60db3abf04cc03a36462a8b45b7d4da3978339 Mon Sep 17 00:00:00 2001 From: edouard Date: Mon, 5 Dec 2022 18:22:27 +0100 Subject: [PATCH] fix view: spend detail width --- gui/src/app/view/spend/detail.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gui/src/app/view/spend/detail.rs b/gui/src/app/view/spend/detail.rs index fc64fe42..5e844bce 100644 --- a/gui/src/app/view/spend/detail.rs +++ b/gui/src/app/view/spend/detail.rs @@ -155,7 +155,9 @@ pub fn spend_modal<'a, T: Into>>( .padding(10) .style(container::Style::Background), ) - .push(modal_section(Container::new(Scrollable::new(content)))) + .push(modal_section(Container::new( + Container::new(Scrollable::new(content)).max_width(750), + ))) .width(Length::Fill) .height(Length::Fill) .into()