diff --git a/SodaLive/Sources/Content/All/ContentNewAllItemView.swift b/SodaLive/Sources/Content/All/ContentNewAllItemView.swift index bd6c24c..4ef7d25 100644 --- a/SodaLive/Sources/Content/All/ContentNewAllItemView.swift +++ b/SodaLive/Sources/Content/All/ContentNewAllItemView.swift @@ -16,13 +16,11 @@ struct ContentNewAllItemView: View { var body: some View { VStack(alignment: .leading, spacing: 8) { - ZStack(alignment: .topLeading) { - KFImage(URL(string: item.coverImageUrl)) - .resizable() - .scaledToFill() - .frame(width: width, height: width, alignment: .top) - .cornerRadius(2.7) - } + KFImage(URL(string: item.coverImageUrl)) + .resizable() + .scaledToFill() + .frame(width: width, height: width, alignment: .top) + .cornerRadius(2.7) Text(item.title) .font(.custom(Font.medium.rawValue, size: 13.3)) @@ -47,7 +45,7 @@ struct ContentNewAllItemView: View { } .padding(.bottom, 10) } - .frame(width: width, alignment: .leading) + .frame(width: width) .onTapGesture { AppState.shared.setAppStep(step: .contentDetail(contentId: item.contentId)) } .onAppear { width = (screenSize().width - 40) / 2 diff --git a/SodaLive/Sources/Content/All/ContentNewAllView.swift b/SodaLive/Sources/Content/All/ContentNewAllView.swift index 5d5cc0c..376528a 100644 --- a/SodaLive/Sources/Content/All/ContentNewAllView.swift +++ b/SodaLive/Sources/Content/All/ContentNewAllView.swift @@ -12,8 +12,8 @@ struct ContentNewAllView: View { @StateObject var viewModel = ContentNewAllViewModel() let columns = [ - GridItem(.flexible()), - GridItem(.flexible()) + GridItem(.flexible(), alignment: .top), + GridItem(.flexible(), alignment: .top) ] var body: some View { diff --git a/SodaLive/Sources/Content/Curation/ContentCurationView.swift b/SodaLive/Sources/Content/Curation/ContentCurationView.swift index 8a4d2fd..735d10a 100644 --- a/SodaLive/Sources/Content/Curation/ContentCurationView.swift +++ b/SodaLive/Sources/Content/Curation/ContentCurationView.swift @@ -15,8 +15,8 @@ struct ContentCurationView: View { let curationId: Int let columns = [ - GridItem(.flexible()), - GridItem(.flexible()) + GridItem(.flexible(), alignment: .top), + GridItem(.flexible(), alignment: .top) ] var body: some View {