시리즈 상세

- 커버이미지 크기 강제처리
This commit is contained in:
Yu Sung 2024-05-13 19:43:50 +09:00
parent 44e9e07716
commit ec8c1fdb71
1 changed files with 6 additions and 3 deletions

View File

@ -41,16 +41,19 @@ struct SeriesDetailView: View {
ZStack {
Rectangle()
.frame(width: screenSize().width, height: 94)
.frame(maxWidth: .infinity)
.foregroundColor(Color.gray11)
.cornerRadius(21.3, corners: [.topLeft, .topRight])
.padding(.top, 94)
KFImage(URL(string: seriesDetail.coverImage))
.resizable()
.scaledToFit()
.scaledToFill()
.frame(
width: 400 * screenSize().width / 1080,
height: 564 * screenSize().width / 1080
)
.cornerRadius(5)
.frame(width: 133.3, height: 188)
}