Showing
1 changed file
with
3 additions
and
1 deletions
| @@ -31,6 +31,7 @@ export struct RmhTitle { | @@ -31,6 +31,7 @@ export struct RmhTitle { | ||
| 31 | .fontColor($r('app.color.color_222222')) | 31 | .fontColor($r('app.color.color_222222')) |
| 32 | .fontWeight(600) | 32 | .fontWeight(600) |
| 33 | .alignSelf(ItemAlign.Start) | 33 | .alignSelf(ItemAlign.Start) |
| 34 | + Flex({alignContent: FlexAlign.Start, wrap: FlexWrap.NoWrap}) { | ||
| 34 | Row() { | 35 | Row() { |
| 35 | if (this.publishTime) { | 36 | if (this.publishTime) { |
| 36 | Text(DateTimeUtils.getCommentTime(Number.parseFloat(this.publishTime))) | 37 | Text(DateTimeUtils.getCommentTime(Number.parseFloat(this.publishTime))) |
| @@ -47,7 +48,8 @@ export struct RmhTitle { | @@ -47,7 +48,8 @@ export struct RmhTitle { | ||
| 47 | .alignSelf(ItemAlign.Start) | 48 | .alignSelf(ItemAlign.Start) |
| 48 | .textOverflow({ overflow: TextOverflow.Ellipsis }) | 49 | .textOverflow({ overflow: TextOverflow.Ellipsis }) |
| 49 | .textAlign(TextAlign.Start) | 50 | .textAlign(TextAlign.Start) |
| 50 | - .width('70%') | 51 | + } |
| 52 | + .width('75%') | ||
| 51 | } | 53 | } |
| 52 | } | 54 | } |
| 53 | 55 |
-
Please register or login to post a comment