Fix visual of EmptyWorld.swift

This commit is contained in:
Giovanni committed 2026-09-03 00:48:11 +02:00
1 parent a53bb8870b
commit 1311f3127e
3 files changed
+5 -2

No files matched your search

@@ -33,7 +33,8 @@ struct EmptyWorldView : View {
CreateWorldButtonView() CreateWorldButtonView()
} }
.frame(maxWidth: .infinity, maxHeight: .infinity) .frame(maxWidth: .infinity)
.padding(.vertical, 50)
} }
} }
@@ -23,5 +23,6 @@ struct WorldListHeaderView : View {
} }
.padding(.vertical, 50) .padding(.vertical, 50)
.padding(.horizontal, 10)
} }
} }
@@ -14,7 +14,7 @@ struct WorldListView: View {
private var worlds: [World] private var worlds: [World]
var body: some View { var body: some View {
VStack{ VStack(alignment: .leading, spacing: 24){
WorldListHeaderView(worlds: worlds) WorldListHeaderView(worlds: worlds)
if worlds.isEmpty { if worlds.isEmpty {
@@ -31,5 +31,6 @@ struct WorldListView: View {
} }
} }
} }
.frame(maxHeight: .infinity, alignment: .topLeading)
} }
} }