diff --git a/Projects/DSKit/Sources/Components/PokitLinkCard.swift b/Projects/DSKit/Sources/Components/PokitLinkCard.swift index a282e330..a44dc037 100644 --- a/Projects/DSKit/Sources/Components/PokitLinkCard.swift +++ b/Projects/DSKit/Sources/Components/PokitLinkCard.swift @@ -155,7 +155,7 @@ public struct PokitLinkCard: View { let edge: Edge.Set = isFirst ? .bottom : isLast ? .top : .vertical self - .padding(edge, 20) + .padding(.bottom, 20) .background(alignment: .bottom) { if !isLast { divider diff --git a/Projects/Feature/FeatureCategoryDetail/Sources/CategoryDetailView.swift b/Projects/Feature/FeatureCategoryDetail/Sources/CategoryDetailView.swift index d424057a..8c32f91a 100644 --- a/Projects/Feature/FeatureCategoryDetail/Sources/CategoryDetailView.swift +++ b/Projects/Feature/FeatureCategoryDetail/Sources/CategoryDetailView.swift @@ -150,7 +150,10 @@ private extension CategoryDetailView { } } else { ScrollView(showsIndicators: false) { - LazyVStack(spacing: 0) { + LazyVGrid( + columns: [ .init(.adaptive(minimum: 300, maximum: .infinity))], + spacing: 20 + ) { ForEach(contents) { content in let isFirst = content == contents.first let isLast = content == contents.last diff --git a/Projects/Feature/FeaturePokit/Sources/PokitRootView.swift b/Projects/Feature/FeaturePokit/Sources/PokitRootView.swift index 05b8a1dc..9f5a9cdf 100644 --- a/Projects/Feature/FeaturePokit/Sources/PokitRootView.swift +++ b/Projects/Feature/FeaturePokit/Sources/PokitRootView.swift @@ -190,7 +190,7 @@ private extension PokitRootView { @ViewBuilder func unclassifiedList(_ unclassifiedContents: IdentifiedArrayOf) -> some View { ScrollView { - LazyVStack(spacing: 0) { + LazyVStack(spacing: 20) { ForEach(unclassifiedContents) { content in let isFirst = content == unclassifiedContents.first let isLast = content == unclassifiedContents.last