큐레이션, 새로운 콘텐츠 - 아이템 개수 2개에서 3개로 변경
This commit is contained in:
parent
62904d96b1
commit
c787027dcc
|
@ -50,7 +50,7 @@ struct ContentNewAllItemView: View {
|
||||||
}
|
}
|
||||||
.frame(width: width)
|
.frame(width: width)
|
||||||
.onAppear {
|
.onAppear {
|
||||||
width = (screenSize().width - 40) / 2
|
width = (screenSize().width - 54) / 3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,6 +12,7 @@ struct ContentNewAllView: View {
|
||||||
@StateObject var viewModel = ContentNewAllViewModel()
|
@StateObject var viewModel = ContentNewAllViewModel()
|
||||||
|
|
||||||
let columns = [
|
let columns = [
|
||||||
|
GridItem(.flexible(), alignment: .top),
|
||||||
GridItem(.flexible(), alignment: .top),
|
GridItem(.flexible(), alignment: .top),
|
||||||
GridItem(.flexible(), alignment: .top)
|
GridItem(.flexible(), alignment: .top)
|
||||||
]
|
]
|
||||||
|
|
|
@ -15,6 +15,7 @@ struct ContentCurationView: View {
|
||||||
let curationId: Int
|
let curationId: Int
|
||||||
|
|
||||||
let columns = [
|
let columns = [
|
||||||
|
GridItem(.flexible(), alignment: .top),
|
||||||
GridItem(.flexible(), alignment: .top),
|
GridItem(.flexible(), alignment: .top),
|
||||||
GridItem(.flexible(), alignment: .top)
|
GridItem(.flexible(), alignment: .top)
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue