gantt-task-react-v 1.0.33 → 1.0.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gantt-task-react.es.js +6 -6
- package/dist/gantt-task-react.umd.js +6 -6
- package/dist/style.css +20 -13
- package/package.json +1 -1
|
@@ -13146,12 +13146,12 @@ const TaskGanttContentInner = (props) => {
|
|
|
13146
13146
|
] });
|
|
13147
13147
|
};
|
|
13148
13148
|
const TaskGanttContent = memo(TaskGanttContentInner);
|
|
13149
|
-
const ganttVerticalContainer = "
|
|
13150
|
-
const horizontalContainer = "
|
|
13151
|
-
const ganttHeader = "
|
|
13152
|
-
const ganttBodyScroll = "
|
|
13153
|
-
const wrapper = "
|
|
13154
|
-
const calendarDragging = "
|
|
13149
|
+
const ganttVerticalContainer = "_ganttVerticalContainer_1btnv_1";
|
|
13150
|
+
const horizontalContainer = "_horizontalContainer_1btnv_85";
|
|
13151
|
+
const ganttHeader = "_ganttHeader_1btnv_111";
|
|
13152
|
+
const ganttBodyScroll = "_ganttBodyScroll_1btnv_121";
|
|
13153
|
+
const wrapper = "_wrapper_1btnv_143";
|
|
13154
|
+
const calendarDragging = "_calendarDragging_1btnv_177";
|
|
13155
13155
|
const styles$2 = {
|
|
13156
13156
|
ganttVerticalContainer,
|
|
13157
13157
|
horizontalContainer,
|
|
@@ -13163,12 +13163,12 @@
|
|
|
13163
13163
|
] });
|
|
13164
13164
|
};
|
|
13165
13165
|
const TaskGanttContent = React.memo(TaskGanttContentInner);
|
|
13166
|
-
const ganttVerticalContainer = "
|
|
13167
|
-
const horizontalContainer = "
|
|
13168
|
-
const ganttHeader = "
|
|
13169
|
-
const ganttBodyScroll = "
|
|
13170
|
-
const wrapper = "
|
|
13171
|
-
const calendarDragging = "
|
|
13166
|
+
const ganttVerticalContainer = "_ganttVerticalContainer_1btnv_1";
|
|
13167
|
+
const horizontalContainer = "_horizontalContainer_1btnv_85";
|
|
13168
|
+
const ganttHeader = "_ganttHeader_1btnv_111";
|
|
13169
|
+
const ganttBodyScroll = "_ganttBodyScroll_1btnv_121";
|
|
13170
|
+
const wrapper = "_wrapper_1btnv_143";
|
|
13171
|
+
const calendarDragging = "_calendarDragging_1btnv_177";
|
|
13172
13172
|
const styles$2 = {
|
|
13173
13173
|
ganttVerticalContainer,
|
|
13174
13174
|
horizontalContainer,
|
package/dist/style.css
CHANGED
|
@@ -584,7 +584,7 @@
|
|
|
584
584
|
user-select: none;
|
|
585
585
|
stroke-width: 0;
|
|
586
586
|
}
|
|
587
|
-
.
|
|
587
|
+
._ganttVerticalContainer_1btnv_1 {
|
|
588
588
|
display: flex;
|
|
589
589
|
flex-direction: column;
|
|
590
590
|
overflow-x: auto;
|
|
@@ -597,19 +597,21 @@
|
|
|
597
597
|
flex-grow: 1;
|
|
598
598
|
height: 100%;
|
|
599
599
|
min-height: 0;
|
|
600
|
+
/* allow this flex child to shrink correctly in a flex row so internal scrolling works */
|
|
601
|
+
min-width: 0;
|
|
600
602
|
max-width: 100%;
|
|
601
603
|
}
|
|
602
604
|
|
|
603
|
-
.
|
|
605
|
+
._ganttVerticalContainer_1btnv_1::-webkit-scrollbar {
|
|
604
606
|
width: 1rem;
|
|
605
607
|
height: 1rem;
|
|
606
608
|
}
|
|
607
609
|
|
|
608
|
-
.
|
|
610
|
+
._ganttVerticalContainer_1btnv_1::-webkit-scrollbar-corner {
|
|
609
611
|
background: transparent;
|
|
610
612
|
}
|
|
611
613
|
|
|
612
|
-
.
|
|
614
|
+
._ganttVerticalContainer_1btnv_1::-webkit-scrollbar-thumb {
|
|
613
615
|
border: 4px solid transparent;
|
|
614
616
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
615
617
|
background: var(--gantt-scrollbar-thumb-color);
|
|
@@ -617,14 +619,14 @@
|
|
|
617
619
|
background-clip: padding-box;
|
|
618
620
|
}
|
|
619
621
|
|
|
620
|
-
.
|
|
622
|
+
._ganttVerticalContainer_1btnv_1::-webkit-scrollbar-thumb:hover {
|
|
621
623
|
border: 2px solid transparent;
|
|
622
624
|
/*noinspection CssUnresolvedCustomProperty*/
|
|
623
625
|
background: var(--gantt-scrollbar-thumb-color);
|
|
624
626
|
background-clip: padding-box;
|
|
625
627
|
}
|
|
626
628
|
|
|
627
|
-
.
|
|
629
|
+
._horizontalContainer_1btnv_85 {
|
|
628
630
|
margin: 0;
|
|
629
631
|
padding: 0;
|
|
630
632
|
/* allow the inner grid/svg to overflow horizontally so the outer container can scroll
|
|
@@ -633,23 +635,27 @@
|
|
|
633
635
|
overflow-y: hidden;
|
|
634
636
|
height: 100%;
|
|
635
637
|
min-height: 0;
|
|
638
|
+
/* ensure this flex child can shrink correctly inside the gantt container */
|
|
639
|
+
min-width: 0;
|
|
636
640
|
}
|
|
637
641
|
|
|
638
|
-
.
|
|
642
|
+
._ganttHeader_1btnv_111 {
|
|
639
643
|
flex: 0 0 auto;
|
|
640
644
|
z-index: 3;
|
|
641
645
|
}
|
|
642
646
|
|
|
643
|
-
.
|
|
647
|
+
._ganttBodyScroll_1btnv_121 {
|
|
644
648
|
flex: 1 1 auto;
|
|
645
649
|
/* allow horizontal scrolling here so the visible scroll area matches the SVG width */
|
|
646
650
|
overflow-y: auto;
|
|
647
651
|
overflow-x: auto;
|
|
648
652
|
min-height: 0;
|
|
649
653
|
height: 100%;
|
|
654
|
+
/* make sure the body can be narrower than content to enable internal scrolling */
|
|
655
|
+
min-width: 0;
|
|
650
656
|
}
|
|
651
657
|
|
|
652
|
-
.
|
|
658
|
+
._wrapper_1btnv_143 {
|
|
653
659
|
display: flex;
|
|
654
660
|
padding: 0;
|
|
655
661
|
margin: 0;
|
|
@@ -660,12 +666,13 @@
|
|
|
660
666
|
border-bottom: 1px solid var(--gantt-divider-color);
|
|
661
667
|
height: 100%;
|
|
662
668
|
min-height: 0;
|
|
663
|
-
/*
|
|
664
|
-
max-width:
|
|
665
|
-
overflow: visible;
|
|
669
|
+
/* let the gantt component provide horizontal scrolling; prevent the wrapper from creating an outer scrollbar */
|
|
670
|
+
max-width: 100%;
|
|
671
|
+
overflow-x: visible;
|
|
672
|
+
overflow-y: visible;
|
|
666
673
|
}
|
|
667
674
|
|
|
668
|
-
.
|
|
675
|
+
._calendarDragging_1btnv_177 {
|
|
669
676
|
cursor: grabbing;
|
|
670
677
|
}
|
|
671
678
|
/*noinspection CssUnresolvedCustomProperty*/
|
package/package.json
CHANGED