Add overflow: auto to container
This commit is contained in:
parent
1680bb7338
commit
e8467917d7
1
dist/frappe-gantt.css
vendored
1
dist/frappe-gantt.css
vendored
@ -94,6 +94,7 @@
|
||||
|
||||
.gantt-container {
|
||||
position: relative;
|
||||
overflow: auto;
|
||||
font-size: 12px; }
|
||||
.gantt-container .popup-wrapper {
|
||||
position: absolute;
|
||||
|
||||
@ -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);
|
||||
},
|
||||
|
||||
@ -134,6 +134,7 @@ $handle-color: #ddd;
|
||||
|
||||
.gantt-container {
|
||||
position: relative;
|
||||
overflow: auto;
|
||||
font-size: 12px;
|
||||
|
||||
.popup-wrapper {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user