Skip to content

Commit

Permalink
fix(ui): task command too long
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Jun 11, 2018
1 parent 8ba6bcf commit 9426f38
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/@vue/cli-ui/src/views/ProjectTaskDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

<div
class="command"
v-tooltip="$t('views.project-task-details.command')"
v-tooltip="`${$t('views.project-task-details.command')}:<br><code>${task.command}</code>`"
>
{{ task.command }}
</div>
Expand Down Expand Up @@ -320,11 +320,12 @@ export default {
font-size 12px
background $vue-ui-color-light-neutral
color $vue-ui-color-dark
padding 0 16px
padding 10px 16px
height 32px
h-box()
box-center()
border-radius $br
max-width 20vw
ellipsis()
box-sizing border-box
.vue-ui-dark-mode &
background $vue-ui-color-dark
color $vue-ui-color-light
Expand Down

0 comments on commit 9426f38

Please sign in to comment.