fix: Wrap home screen content in scrollable to prevent UI overflow
This commit is contained in:
+4
-2
@@ -441,11 +441,13 @@ fn view(state: &AppState) -> Element<'_, AppMessage> {
|
|||||||
.padding(30)
|
.padding(30)
|
||||||
.width(420);
|
.width(420);
|
||||||
|
|
||||||
|
let scroll = scrollable(content);
|
||||||
|
|
||||||
container(
|
container(
|
||||||
column![
|
column![
|
||||||
top_bar,
|
top_bar,
|
||||||
vertical_space(40.0),
|
vertical_space(20.0),
|
||||||
content
|
scroll
|
||||||
].align_x(iced::alignment::Horizontal::Center)
|
].align_x(iced::alignment::Horizontal::Center)
|
||||||
)
|
)
|
||||||
.width(iced::Length::Fill)
|
.width(iced::Length::Fill)
|
||||||
|
|||||||
Reference in New Issue
Block a user