콘텐츠 그리드 리스트
- 아이템 상하 간격 16으로 변경
This commit is contained in:
		| @@ -89,7 +89,7 @@ struct ContentAllByThemeView: View { | |||||||
|                     .padding(.horizontal, 20) |                     .padding(.horizontal, 20) | ||||||
|                      |                      | ||||||
|                     ScrollView(.vertical, showsIndicators: false) { |                     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 |                             ForEach(0..<viewModel.contentList.count, id: \.self) { index in | ||||||
|                                 ContentNewAllItemView(item: viewModel.contentList[index]) |                                 ContentNewAllItemView(item: viewModel.contentList[index]) | ||||||
|                                     .onAppear { |                                     .onAppear { | ||||||
|   | |||||||
| @@ -93,7 +93,7 @@ struct ContentNewAllItemView: View { | |||||||
|             } |             } | ||||||
|             .frame(width: width) |             .frame(width: width) | ||||||
|             .onAppear { |             .onAppear { | ||||||
|                 width = (screenSize().width - 54) / 3 |                 width = (screenSize().width - 42) / 3 | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|     } |     } | ||||||
|   | |||||||
| @@ -59,7 +59,7 @@ struct ContentNewAllView: View { | |||||||
|                     .padding(.horizontal, 20) |                     .padding(.horizontal, 20) | ||||||
|                      |                      | ||||||
|                     ScrollView(.vertical, showsIndicators: false) { |                     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 |                             ForEach(0..<viewModel.newContentList.count, id: \.self) { index in | ||||||
|                                 ContentNewAllItemView(item: viewModel.newContentList[index]) |                                 ContentNewAllItemView(item: viewModel.newContentList[index]) | ||||||
|                                     .onAppear { |                                     .onAppear { | ||||||
|   | |||||||
| @@ -91,7 +91,7 @@ struct ContentCurationView: View { | |||||||
|                     .padding(.horizontal, 20) |                     .padding(.horizontal, 20) | ||||||
|                      |                      | ||||||
|                     ScrollView(.vertical, showsIndicators: false) { |                     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 |                             ForEach(0..<viewModel.contentList.count, id: \.self) { index in | ||||||
|                                 ContentNewAllItemView(item: viewModel.contentList[index]) |                                 ContentNewAllItemView(item: viewModel.contentList[index]) | ||||||
|                                     .onAppear { |                                     .onAppear { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Yu Sung
					Yu Sung