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 {
|
.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;
|
||||||
|
|||||||
@ -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);
|
||||||
},
|
},
|
||||||
|
|||||||
@ -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 {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user