|
@@ -157,7 +157,7 @@ extension CardContentCommentListTableViewCell : UITableViewDelegate,UITableViewD
|
|
|
let likeWidth = likeCountStr.widthForComment(font: kRegularFont14!, height: 25.5)
|
|
|
|
|
|
let str = nameStr + contentStr
|
|
|
- let strHeight = (str.heightForComment(font: kRegularFont14!, width: kScreenWidth-28-10-16-5-likeWidth) + 5)
|
|
|
+ let strHeight = (str.heightForComment(font: kRegularFont14!, width: kScreenWidth-28-10-20-5-likeWidth) + 5)
|
|
|
return strHeight
|
|
|
}else {
|
|
|
let communityRecommendCommentModel = communityRecommendDataModel?.comment?[indexPath.row]
|
|
@@ -168,7 +168,7 @@ extension CardContentCommentListTableViewCell : UITableViewDelegate,UITableViewD
|
|
|
let likeWidth = likeCountStr.widthForComment(font: kRegularFont14!, height: 25.5)
|
|
|
|
|
|
let str = nameStr + contentStr
|
|
|
- let strHeight = (str.heightForComment(font: kRegularFont14!, width: kScreenWidth-28-10-16-5-likeWidth) + 5)
|
|
|
+ let strHeight = (str.heightForComment(font: kRegularFont14!, width: kScreenWidth-28-10-20-5-likeWidth) + 5)
|
|
|
return strHeight
|
|
|
}
|
|
|
}
|