diff --git a/dist/frappe-gantt.css b/dist/frappe-gantt.css index 5f727d9..4d463b2 100644 --- a/dist/frappe-gantt.css +++ b/dist/frappe-gantt.css @@ -94,6 +94,7 @@ .gantt-container { position: relative; + overflow: auto; font-size: 12px; } .gantt-container .popup-wrapper { position: absolute; diff --git a/index.html b/index.html index 828c37e..3b5d271 100644 --- a/index.html +++ b/index.html @@ -12,9 +12,6 @@ width: 80%; margin: 0 auto; } - .gantt-container { - overflow: scroll; - } /* custom class */ .gantt .bar-milestone .bar-progress { fill: tomato; @@ -60,7 +57,6 @@ tasks[5].custom_class = "bar-milestone"; var gantt_chart = new Gantt(".gantt-target", tasks, { - bar_corner_radius: 5, on_click: function (task) { console.log(task); }, diff --git a/src/gantt.scss b/src/gantt.scss index e4eac11..6a39f9e 100644 --- a/src/gantt.scss +++ b/src/gantt.scss @@ -134,6 +134,7 @@ $handle-color: #ddd; .gantt-container { position: relative; + overflow: auto; font-size: 12px; .popup-wrapper {