diff --git a/WorldBuilder/Views/WorldList/Components/EmptyWorldView.swift b/WorldBuilder/Views/WorldList/Components/EmptyWorldView.swift index 39cae46..e88fc19 100644 --- a/WorldBuilder/Views/WorldList/Components/EmptyWorldView.swift +++ b/WorldBuilder/Views/WorldList/Components/EmptyWorldView.swift @@ -33,7 +33,8 @@ struct EmptyWorldView : View { CreateWorldButtonView() } - .frame(maxWidth: .infinity, maxHeight: .infinity) + .frame(maxWidth: .infinity) + .padding(.vertical, 50) } } diff --git a/WorldBuilder/Views/WorldList/Components/WorldListHeaderView.swift b/WorldBuilder/Views/WorldList/Components/WorldListHeaderView.swift index 0af27e7..cce0452 100644 --- a/WorldBuilder/Views/WorldList/Components/WorldListHeaderView.swift +++ b/WorldBuilder/Views/WorldList/Components/WorldListHeaderView.swift @@ -23,5 +23,6 @@ struct WorldListHeaderView : View { } .padding(.vertical, 50) + .padding(.horizontal, 10) } } diff --git a/WorldBuilder/Views/WorldList/WorldListView.swift b/WorldBuilder/Views/WorldList/WorldListView.swift index 7064d4b..17b8ce8 100644 --- a/WorldBuilder/Views/WorldList/WorldListView.swift +++ b/WorldBuilder/Views/WorldList/WorldListView.swift @@ -14,7 +14,7 @@ struct WorldListView: View { private var worlds: [World] var body: some View { - VStack{ + VStack(alignment: .leading, spacing: 24){ WorldListHeaderView(worlds: worlds) if worlds.isEmpty { @@ -31,5 +31,6 @@ struct WorldListView: View { } } } + .frame(maxHeight: .infinity, alignment: .topLeading) } }