Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunil Solanki committed Jul 11, 2023
1 parent 9e1c3cd commit f8b5973
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
5 changes: 2 additions & 3 deletions gantt.css
Original file line number Diff line number Diff line change
Expand Up @@ -819,11 +819,10 @@
z-index: 1007;
height: 40px;
line-height: inherit;
background-color: #e84855;
border: 0px solid #e84855;
background-color: transparent !important;
border: 0px solid transparent !important;
border-radius: 3px;
text-align: center;
visibility: hidden;
margin-left: -10px;
}

Expand Down
15 changes: 8 additions & 7 deletions gantt.js
Original file line number Diff line number Diff line change
Expand Up @@ -1744,14 +1744,19 @@
let that = this;

this.options.currentLanguage = this.options.i18n[this.options.localLang];


let fullscreenChangeEvent = 'fullscreenchange';
if (document.webkitFullscreenElement !== null) {
// Safari specific event
fullscreenChangeEvent = 'webkitfullscreenchange';
}
// Listen for the fullscreenchange event
document.body.removeEventListener(
"fullscreenchange",
fullscreenChangeEvent,
handleFullScreenChange
);
document.body.addEventListener(
"fullscreenchange",
fullscreenChangeEvent,
handleFullScreenChange
);
function handleFullScreenChange(event) {
Expand Down Expand Up @@ -1865,10 +1870,6 @@
this.originalData[i].start_date = new Date(
new Date(this.originalData[i].start_date).setHours(0, 0, 0, 0)
);
console.log(
this.originalData[i].text,
this.originalData[i].start_date
);
}
}
if (
Expand Down
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ input[type="checkbox"] {
background-color: #7fbbfff2 !important;
}

.zt-gantt-bar-task.child-task{
.zt-gantt-bar-task.child-task:not(.zt-gantt-bar-milestone){
background-color: #56a4fdf2 !important;
}

Expand Down

0 comments on commit f8b5973

Please sign in to comment.