fix view: spend detail width

This commit is contained in:
edouard 2022-12-05 18:22:27 +01:00
parent 70527a002e
commit 9d60db3abf

View File

@ -155,7 +155,9 @@ pub fn spend_modal<'a, T: Into<Element<'a, Message>>>(
.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()