Skip to content

Commit

Permalink
💄 auto-width for action table
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidZhang73 committed Mar 12, 2022
1 parent 6be5e15 commit 711730f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pages/annotation/ActionTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
<q-tooltip anchor="top middle" v-if="props.row.end - props.row.start <= 0">Duration should be greater than 0.</q-tooltip>
<q-td auto-width>
<q-input
style="min-width: 100px;"
v-model.number="props.row.start"
dense
borderless
Expand All @@ -96,6 +97,7 @@
</q-td>
<q-td auto-width>
<q-input
style="min-width: 100px;"
v-model.number="props.row.end"
dense
borderless
Expand All @@ -104,7 +106,7 @@
@mousewheel.prevent
></q-input>
</q-td>
<q-td>
<q-td auto-width>
{{ utils.toFixed2(props.row.end - props.row.start) }}
</q-td>
<q-td>
Expand Down

0 comments on commit 711730f

Please sign in to comment.