From f8b59731221b62f570581be42c8110a37cdf816c Mon Sep 17 00:00:00 2001 From: Sunil Solanki Date: Tue, 11 Jul 2023 18:25:39 +0530 Subject: [PATCH] updated --- gantt.css | 5 ++--- gantt.js | 15 ++++++++------- style.css | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/gantt.css b/gantt.css index e93a9ed..0c44c86 100644 --- a/gantt.css +++ b/gantt.css @@ -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; } diff --git a/gantt.js b/gantt.js index b7c7bbd..e223d75 100644 --- a/gantt.js +++ b/gantt.js @@ -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) { @@ -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 ( diff --git a/style.css b/style.css index c6fc4ea..19f28e7 100644 --- a/style.css +++ b/style.css @@ -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; }