From c787027dcce420b26a3b24791a99b04015dd68e6 Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Wed, 14 Feb 2024 12:56:16 +0900 Subject: [PATCH] =?UTF-8?q?=ED=81=90=EB=A0=88=EC=9D=B4=EC=85=98,=20?= =?UTF-8?q?=EC=83=88=EB=A1=9C=EC=9A=B4=20=EC=BD=98=ED=85=90=EC=B8=A0=20-?= =?UTF-8?q?=20=EC=95=84=EC=9D=B4=ED=85=9C=20=EA=B0=9C=EC=88=98=202?= =?UTF-8?q?=EA=B0=9C=EC=97=90=EC=84=9C=203=EA=B0=9C=EB=A1=9C=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SodaLive/Sources/Content/All/ContentNewAllItemView.swift | 2 +- SodaLive/Sources/Content/All/ContentNewAllView.swift | 1 + SodaLive/Sources/Content/Curation/ContentCurationView.swift | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/SodaLive/Sources/Content/All/ContentNewAllItemView.swift b/SodaLive/Sources/Content/All/ContentNewAllItemView.swift index fdedffb..a74dec0 100644 --- a/SodaLive/Sources/Content/All/ContentNewAllItemView.swift +++ b/SodaLive/Sources/Content/All/ContentNewAllItemView.swift @@ -50,7 +50,7 @@ struct ContentNewAllItemView: View { } .frame(width: width) .onAppear { - width = (screenSize().width - 40) / 2 + width = (screenSize().width - 54) / 3 } } } diff --git a/SodaLive/Sources/Content/All/ContentNewAllView.swift b/SodaLive/Sources/Content/All/ContentNewAllView.swift index 01451fd..a02811d 100644 --- a/SodaLive/Sources/Content/All/ContentNewAllView.swift +++ b/SodaLive/Sources/Content/All/ContentNewAllView.swift @@ -12,6 +12,7 @@ struct ContentNewAllView: View { @StateObject var viewModel = ContentNewAllViewModel() let columns = [ + GridItem(.flexible(), alignment: .top), GridItem(.flexible(), alignment: .top), GridItem(.flexible(), alignment: .top) ] diff --git a/SodaLive/Sources/Content/Curation/ContentCurationView.swift b/SodaLive/Sources/Content/Curation/ContentCurationView.swift index d1720e6..c09dac6 100644 --- a/SodaLive/Sources/Content/Curation/ContentCurationView.swift +++ b/SodaLive/Sources/Content/Curation/ContentCurationView.swift @@ -15,6 +15,7 @@ struct ContentCurationView: View { let curationId: Int let columns = [ + GridItem(.flexible(), alignment: .top), GridItem(.flexible(), alignment: .top), GridItem(.flexible(), alignment: .top) ]