fix: 메인 홈 - 보온 주간 차트 사이즈 수정
- 아이템 사이즈 282 -> 280 - 아이템 항목 사이즈 합계: 180 -> 252 - 순위 글자 크기: 16.7 -> 24
This commit is contained in:
@@ -17,7 +17,7 @@ struct HomeWeeklyChartItemView: View {
|
|||||||
var body: some View {
|
var body: some View {
|
||||||
HStack(spacing: 16) {
|
HStack(spacing: 16) {
|
||||||
Text("\(rank)")
|
Text("\(rank)")
|
||||||
.font(.custom(Font.preBold.rawValue, size: 16.7))
|
.font(.custom(Font.preBold.rawValue, size: 24))
|
||||||
.foregroundColor(Color(hex: "B5E7FA"))
|
.foregroundColor(Color(hex: "B5E7FA"))
|
||||||
|
|
||||||
KFImage(URL(string: content.coverImageUrl))
|
KFImage(URL(string: content.coverImageUrl))
|
||||||
@@ -37,7 +37,7 @@ struct HomeWeeklyChartItemView: View {
|
|||||||
.foregroundColor(Color(hex: "78909C"))
|
.foregroundColor(Color(hex: "78909C"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.frame(width: 180, alignment: .leading)
|
.frame(width: 252, alignment: .leading)
|
||||||
.contentShape(Rectangle())
|
.contentShape(Rectangle())
|
||||||
.onTapGesture { onClickItem(content.contentId) }
|
.onTapGesture { onClickItem(content.contentId) }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ struct HomeWeeklyChartView: View {
|
|||||||
.setAppStep(step: .login)
|
.setAppStep(step: .login)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.frame(width: 282, alignment: .leading)
|
.frame(width: 280, alignment: .leading)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.padding(.horizontal, 24)
|
.padding(.horizontal, 24)
|
||||||
|
|||||||
Reference in New Issue
Block a user