Skip to content

Commit 9426f38

Browse files
committed
fix(ui): task command too long
1 parent 8ba6bcf commit 9426f38

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

packages/@vue/cli-ui/src/views/ProjectTaskDetails.vue

+5-4
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
<div
3838
class="command"
39-
v-tooltip="$t('views.project-task-details.command')"
39+
v-tooltip="`${$t('views.project-task-details.command')}:<br><code>${task.command}</code>`"
4040
>
4141
{{ task.command }}
4242
</div>
@@ -320,11 +320,12 @@ export default {
320320
font-size 12px
321321
background $vue-ui-color-light-neutral
322322
color $vue-ui-color-dark
323-
padding 0 16px
323+
padding 10px 16px
324324
height 32px
325-
h-box()
326-
box-center()
327325
border-radius $br
326+
max-width 20vw
327+
ellipsis()
328+
box-sizing border-box
328329
.vue-ui-dark-mode &
329330
background $vue-ui-color-dark
330331
color $vue-ui-color-light

0 commit comments

Comments
 (0)