Add overflow: auto to container

This commit is contained in:
Faris Ansari 2018-03-05 12:04:51 +05:30
parent 1680bb7338
commit e8467917d7
3 changed files with 2 additions and 4 deletions

View File

@ -94,6 +94,7 @@
.gantt-container { .gantt-container {
position: relative; position: relative;
overflow: auto;
font-size: 12px; } font-size: 12px; }
.gantt-container .popup-wrapper { .gantt-container .popup-wrapper {
position: absolute; position: absolute;

View File

@ -12,9 +12,6 @@
width: 80%; width: 80%;
margin: 0 auto; margin: 0 auto;
} }
.gantt-container {
overflow: scroll;
}
/* custom class */ /* custom class */
.gantt .bar-milestone .bar-progress { .gantt .bar-milestone .bar-progress {
fill: tomato; fill: tomato;
@ -60,7 +57,6 @@
tasks[5].custom_class = "bar-milestone"; tasks[5].custom_class = "bar-milestone";
var gantt_chart = new Gantt(".gantt-target", tasks, { var gantt_chart = new Gantt(".gantt-target", tasks, {
bar_corner_radius: 5,
on_click: function (task) { on_click: function (task) {
console.log(task); console.log(task);
}, },

View File

@ -134,6 +134,7 @@ $handle-color: #ddd;
.gantt-container { .gantt-container {
position: relative; position: relative;
overflow: auto;
font-size: 12px; font-size: 12px;
.popup-wrapper { .popup-wrapper {