parent
a5eaf7c6ac
commit
a07e87b9c8
|
@ -89,7 +89,7 @@ struct ContentAllByThemeView: View {
|
|||
.padding(.horizontal, 20)
|
||||
|
||||
ScrollView(.vertical, showsIndicators: false) {
|
||||
LazyVGrid(columns: columns, spacing: 13.3) {
|
||||
LazyVGrid(columns: columns, spacing: 16.7) {
|
||||
ForEach(0..<viewModel.contentList.count, id: \.self) { index in
|
||||
ContentNewAllItemView(item: viewModel.contentList[index])
|
||||
.onAppear {
|
||||
|
|
|
@ -93,7 +93,7 @@ struct ContentNewAllItemView: View {
|
|||
}
|
||||
.frame(width: width)
|
||||
.onAppear {
|
||||
width = (screenSize().width - 54) / 3
|
||||
width = (screenSize().width - 42) / 3
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -59,7 +59,7 @@ struct ContentNewAllView: View {
|
|||
.padding(.horizontal, 20)
|
||||
|
||||
ScrollView(.vertical, showsIndicators: false) {
|
||||
LazyVGrid(columns: columns, spacing: 13.3) {
|
||||
LazyVGrid(columns: columns, spacing: 16.7) {
|
||||
ForEach(0..<viewModel.newContentList.count, id: \.self) { index in
|
||||
ContentNewAllItemView(item: viewModel.newContentList[index])
|
||||
.onAppear {
|
||||
|
|
|
@ -91,7 +91,7 @@ struct ContentCurationView: View {
|
|||
.padding(.horizontal, 20)
|
||||
|
||||
ScrollView(.vertical, showsIndicators: false) {
|
||||
LazyVGrid(columns: columns, spacing: 13.3) {
|
||||
LazyVGrid(columns: columns, spacing: 16.7) {
|
||||
ForEach(0..<viewModel.contentList.count, id: \.self) { index in
|
||||
ContentNewAllItemView(item: viewModel.contentList[index])
|
||||
.onAppear {
|
||||
|
|
Loading…
Reference in New Issue