From ce7bdfde2e63c0522ca73ced10fd215926bdd539 Mon Sep 17 00:00:00 2001 From: Giovanni Date: Sat, 5 Sep 2026 14:25:53 +0200 Subject: [PATCH] fix world name gap issue when not in selection mode --- WorldBuilder/Components/WorldCard.swift | 4 ++-- WorldBuilder/Views/WorldList/WorldListView.swift | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/WorldBuilder/Components/WorldCard.swift b/WorldBuilder/Components/WorldCard.swift index 136fee8..7956e95 100644 --- a/WorldBuilder/Components/WorldCard.swift +++ b/WorldBuilder/Components/WorldCard.swift @@ -32,8 +32,8 @@ struct WorldCard : View { .foregroundStyle(.white, .indigo) } } - .padding(.vertical, 8) - .padding(.horizontal, 4) + .padding(.vertical, 6) + .padding(.horizontal, 6) } .frame(height: 250) diff --git a/WorldBuilder/Views/WorldList/WorldListView.swift b/WorldBuilder/Views/WorldList/WorldListView.swift index 90a502e..e53fe82 100644 --- a/WorldBuilder/Views/WorldList/WorldListView.swift +++ b/WorldBuilder/Views/WorldList/WorldListView.swift @@ -46,6 +46,7 @@ } label: { WorldCard(world: world) } + .buttonStyle(.plain) } } .contextMenu{