chore: use width property
This commit is contained in:
parent
40f7871f1b
commit
ecaa09285b
1 changed files with 20 additions and 20 deletions
|
@ -1,6 +1,5 @@
|
|||
<template>
|
||||
<div class="gantt-container">
|
||||
<div :style="{'width': ganttChartWidth + 'px'}">
|
||||
<g-gantt-chart
|
||||
:chart-start="`${dateFrom} 00:00`"
|
||||
:chart-end="`${dateTo} 23:59`"
|
||||
|
@ -10,6 +9,8 @@
|
|||
:grid="true"
|
||||
@dragend-bar="updateTask"
|
||||
@dblclick-bar="openTask"
|
||||
font="'Open Sans', sans-serif"
|
||||
:width="ganttChartWidth + 'px'"
|
||||
>
|
||||
<g-gantt-row
|
||||
v-for="(bar, k) in ganttBars"
|
||||
|
@ -19,7 +20,6 @@
|
|||
/>
|
||||
</g-gantt-chart>
|
||||
</div>
|
||||
</div>
|
||||
<form
|
||||
@submit.prevent="createTask()"
|
||||
class="add-new-task"
|
||||
|
|
Loading…
Reference in a new issue