시리즈 아이템

- 상단을 기준으로 정렬이 되도록 수정
This commit is contained in:
Yu Sung
2024-04-30 23:33:09 +09:00
parent f97917f407
commit 9f3eb8a995
4 changed files with 56 additions and 50 deletions

View File

@@ -25,10 +25,10 @@ struct SeriesListAllView: View {
DetailNavigationBar(title: "시리즈 전체보기")
ScrollView(.vertical, showsIndicators: false) {
LazyVGrid(columns: columns, spacing: 13.3) {
LazyVGrid(columns: columns, spacing: 16.7) {
ForEach(0..<viewModel.seriesList.count, id: \.self) { index in
let item = viewModel.seriesList[index]
SeriesListItemView(item: item)
SeriesListItemView(itemWidth: (screenSize().width - 40) / 3, item: item)
.contentShape(Rectangle())
.onTapGesture {
AppState.shared