시리즈 전체보기

- 아이템 사이즈 이상하게 나오던 것 화면 1/3로 나오도록 수정
This commit is contained in:
Yu Sung 2024-05-13 19:24:07 +09:00
parent 0a773ab99f
commit 44e9e07716
1 changed files with 1 additions and 1 deletions

View File

@ -21,6 +21,7 @@ struct SeriesListItemView: View {
KFImage(URL(string: item.coverImage))
.resizable()
.scaledToFill()
.frame(width: itemWidth, height: itemWidth * 432 / 306)
.cornerRadius(5)
.clipped()
@ -51,7 +52,6 @@ struct SeriesListItemView: View {
}
.padding(3.3)
}
.frame(width: itemWidth, height: itemWidth * 432 / 306)
Text(item.title)
.font(.custom(Font.medium.rawValue, size: 12))