diff --git a/components/index/ContentDashboard.vue b/components/index/ContentDashboard.vue index 27fe183..6458267 100644 --- a/components/index/ContentDashboard.vue +++ b/components/index/ContentDashboard.vue @@ -868,7 +868,7 @@ const getTagCustomStyle = (status) => { padding: 16px; display: flex; flex-direction: column; - gap: 12px; + gap: 2px; } .overdue-task-header { @@ -892,6 +892,11 @@ const getTagCustomStyle = (status) => { color: #333; line-height: 1.5; margin-top: 4px; + overflow: hidden; + text-overflow: ellipsis; + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; } .overdue-task-footer {