시리즈 상세
- 커버이미지 크기 강제처리
This commit is contained in:
@@ -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)
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user