fix(widget): unset max width for settings::view_column

This commit is contained in:
Michael Aaron Murphy 2023-09-19 16:41:59 +02:00 committed by Michael Murphy
parent 8f9fde7fe8
commit aa2dfe0ea5

View file

@ -13,8 +13,5 @@ use crate::Element;
/// A column with a predefined style for creating a settings panel
#[must_use]
pub fn view_column<Message: 'static>(children: Vec<Element<Message>>) -> Column<Message> {
column::with_children(children)
.spacing(24)
.padding([0, 24])
.max_width(678)
column::with_children(children).spacing(24).padding([0, 24])
}