File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -286,7 +286,10 @@ export default class Bar {
286286 const bar = this . $bar ;
287287 const handle_width = 3 ;
288288 this . handles = [ ] ;
289- if ( ! this . gantt . options . readonly_dates ) {
289+ if (
290+ ! this . gantt . options . readonly_dates &&
291+ ! this . gantt . options . fixed_duration
292+ ) {
290293 this . handles . push (
291294 createSVG ( 'rect' , {
292295 x : bar . getEndX ( ) - handle_width / 2 ,
Original file line number Diff line number Diff line change @@ -149,6 +149,7 @@ const DEFAULT_OPTIONS = {
149149 popup_on : 'click' ,
150150 readonly_progress : false ,
151151 readonly_dates : false ,
152+ fixed_duration : false ,
152153 readonly : false ,
153154 scroll_to : 'today' ,
154155 show_expected_progress : false ,
Original file line number Diff line number Diff line change @@ -700,7 +700,6 @@ export default class Gantt {
700700
701701 const index = Math . floor ( x / this . config . column_width ) ;
702702 const targetCell = columns [ index ] ;
703- console . log ( this . options ) ;
704703 if ( ! targetCell ) return null ;
705704
706705 const match = targetCell . className . match ( / d a t e _ ( \d { 4 } - \d { 2 } - \d { 2 } ) / ) ;
Original file line number Diff line number Diff line change 11@import './light.css' ;
22
33.gantt-container {
4+ isolation : isolate;
45 line-height : 14.5px ;
56 position : relative;
67 overflow : auto;
1819 padding : 10px ;
1920 border-radius : 5px ;
2021 width : max-content;
21- z-index : 1000 ;
22+ z-index : 2 ;
2223
2324 & .title {
2425 margin-bottom : 2px ;
7677 top : 0 ;
7778 left : 0 ;
7879 border-bottom : 1px solid var (--g-row-border-color );
79- z-index : 1000 ;
8080 }
8181
8282 & .lower-text ,
125125 right : 0 ;
126126 float : right;
127127
128- z-index : 1000 ;
129128 line-height : 20px ;
130129 font-weight : 400 ;
131130 width : max-content;
182181 position : absolute;
183182 background : var (--g-today-highlight );
184183 width : 1px ;
185- z-index : 999 ;
186184 }
187185
188186 & .current-ball-highlight {
189187 position : absolute;
190188 background : var (--g-today-highlight );
191- z-index : 1001 ;
189+ z-index : 1 ;
192190 border-radius : 50% ;
193191 }
194192
203201 top : 0 ;
204202 left : 0 ;
205203 opacity : 0 ;
206- z-index : 1000 ;
207204 background : --g-weekend-label-color ;
208205 border-radius : 5px ;
209206 padding : 2px 5px ;
346343 }
347344
348345 .grid-column : hover {
349- fill : rgba (150 , 150 , 150 , 0.05 ) !important ;
346+ fill : rgba (49 , 49 , 49 , 0.05 ) !important ;
350347 transition : fill 0.1s ease;
351348 }
352349}
You can’t perform that action at this time.
0 commit comments