fix: make sub page view scrollable height Fill

This allows the flex layout to shrink the scrollable and make room for the title
This commit is contained in:
Ashley Wulber 2024-08-02 17:39:38 -04:00 committed by Ashley Wulber
parent f89529c180
commit 34d2b82376

View file

@ -859,7 +859,7 @@ impl SettingsApp {
)
.spacing(theme.cosmic().space_s())
.padding(0)
.apply(|widget| scrollable(self.page_container(widget)))
.apply(|widget| scrollable(self.page_container(widget)).height(Length::Fill))
.apply(Element::from)
.map(Message::Page);