fix: sub page header alignment

This commit is contained in:
Michael Aaron Murphy 2024-07-31 09:11:21 +02:00
parent a4b9b45348
commit 2736773c31
No known key found for this signature in database
GPG key ID: B2732D4240C9212C

View file

@ -863,11 +863,11 @@ impl SettingsApp {
.apply(Element::from)
.map(Message::Page);
column::with_capacity(2)
.push(page_title(&self.pages.info[self.active_page]))
widget::column::with_capacity(3)
.push(self.page_container(page_title(&self.pages.info[self.active_page])))
.push(widget::vertical_space(theme.cosmic().space_m()))
.push(page_list)
.spacing(theme.cosmic().space_m())
.padding(0)
.height(Length::Fill)
.into()
}