Skip to content

Commit aca31eb

Browse files
author
Guillaume Chau
committed
fix(task): description overflow
1 parent 7d2d1fb commit aca31eb

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

packages/@vue/cli-ui/src/components/task/ProjectTaskDetails.vue

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@
44
<div class="header">
55
<VueIcon icon="assignment" class="task-icon big"/>
66
<div class="name">{{ task.name }}</div>
7-
<div class="description">{{ $t(task.description) }}</div>
7+
<div
8+
class="description"
9+
v-tooltip="$t(task.description)"
10+
>
11+
{{ $t(task.description) }}
12+
</div>
813
<div
914
class="command"
1015
v-tooltip="`${$t('org.vue.views.project-task-details.command')}:<br><code>${task.command}</code>`"
@@ -404,7 +409,8 @@ export default {
404409
.description
405410
flex 1
406411
color $color-text-light
407-
margin-left $padding-item
412+
margin 0 $padding-item
413+
ellipsis()
408414
409415
.task-settings
410416
padding $padding-item

0 commit comments

Comments
 (0)