콘텐츠 아이템
- 제목 1줄로 고정
This commit is contained in:
@@ -31,11 +31,11 @@ struct ContentMainItemView: View {
|
|||||||
|
|
||||||
Text(item.title)
|
Text(item.title)
|
||||||
.font(.custom(Font.medium.rawValue, size: 13.3))
|
.font(.custom(Font.medium.rawValue, size: 13.3))
|
||||||
.foregroundColor(Color(hex: "d2d2d2"))
|
.foregroundColor(.grayd2)
|
||||||
.frame(width: 133.3, alignment: .leading)
|
.frame(width: 133.3, alignment: .leading)
|
||||||
.multilineTextAlignment(.leading)
|
.multilineTextAlignment(.leading)
|
||||||
.fixedSize(horizontal: false, vertical: true)
|
.fixedSize(horizontal: false, vertical: true)
|
||||||
.lineLimit(2)
|
.lineLimit(1)
|
||||||
|
|
||||||
HStack(spacing: 5.3) {
|
HStack(spacing: 5.3) {
|
||||||
KFImage(URL(string: item.creatorProfileImageUrl))
|
KFImage(URL(string: item.creatorProfileImageUrl))
|
||||||
@@ -54,7 +54,7 @@ struct ContentMainItemView: View {
|
|||||||
|
|
||||||
Text(item.creatorNickname)
|
Text(item.creatorNickname)
|
||||||
.font(.custom(Font.medium.rawValue, size: 12))
|
.font(.custom(Font.medium.rawValue, size: 12))
|
||||||
.foregroundColor(Color(hex: "777777"))
|
.foregroundColor(.gray77)
|
||||||
.lineLimit(1)
|
.lineLimit(1)
|
||||||
}
|
}
|
||||||
.padding(.bottom, 10)
|
.padding(.bottom, 10)
|
||||||
|
Reference in New Issue
Block a user