fix(creator-profile): 최신 콘텐츠 제목 2줄 제한
This commit is contained in:
@@ -149,12 +149,14 @@ struct UserProfileView: View {
|
|||||||
.font(.custom(Font.preMedium.rawValue, size: 18))
|
.font(.custom(Font.preMedium.rawValue, size: 18))
|
||||||
.foregroundColor(Color.white)
|
.foregroundColor(Color.white)
|
||||||
.multilineTextAlignment(.leading)
|
.multilineTextAlignment(.leading)
|
||||||
|
.lineLimit(2)
|
||||||
|
.truncationMode(.tail)
|
||||||
|
|
||||||
HStack(spacing: 14) {
|
HStack(spacing: 14) {
|
||||||
HStack(spacing: 6) {
|
HStack(spacing: 6) {
|
||||||
Image("ic_heart_777")
|
Image("ic_heart_777")
|
||||||
.resizable()
|
.resizable()
|
||||||
.frame(width: 24, height: 24)
|
.frame(width: 18, height: 18)
|
||||||
|
|
||||||
Text("\(item.likeCount)")
|
Text("\(item.likeCount)")
|
||||||
.font(.custom(Font.preMedium.rawValue, size: 18))
|
.font(.custom(Font.preMedium.rawValue, size: 18))
|
||||||
@@ -164,7 +166,7 @@ struct UserProfileView: View {
|
|||||||
HStack(spacing: 6) {
|
HStack(spacing: 6) {
|
||||||
Image("ic_message_square_777")
|
Image("ic_message_square_777")
|
||||||
.resizable()
|
.resizable()
|
||||||
.frame(width: 24, height: 24)
|
.frame(width: 18, height: 18)
|
||||||
|
|
||||||
Text("\(item.commentCount)")
|
Text("\(item.commentCount)")
|
||||||
.font(.custom(Font.preMedium.rawValue, size: 18))
|
.font(.custom(Font.preMedium.rawValue, size: 18))
|
||||||
|
|||||||
Reference in New Issue
Block a user