fix gantt posizioning on zoomout

This commit is contained in:
=
2020-09-22 09:35:06 +02:00
parent d079e187e1
commit ff6a7a1962
@@ -14,7 +14,9 @@
:class="{follow:canFollow}"
>
<!-- <gantt-header :padding-horizontal="padX " /> -->
<g :transform="`translate(0 ${ganttOptions.stepDuration * ganttOptions.secondSize + PadY })`">
<g
:transform="`translate(0 ${Math.min(ganttOptions.stepDuration * ganttOptions.secondSize + PadY,40) })`"
>
<gantt-row
:section="1"
:blocks="blocks"