diff --git a/demo/demo.vue b/demo/demo.vue index a9da39f..bab9f60 100644 --- a/demo/demo.vue +++ b/demo/demo.vue @@ -1,6 +1,10 @@ + +
+ +
@@ -29,6 +33,7 @@ const { inView } = useInView(); position: relative; .xg-gantt-row { + z-index: 99; // width: 100%; // background-color: darkkhaki; // position: absolute; @@ -36,5 +41,21 @@ const { inView } = useInView(); // border-bottom: 1px solid; // box-sizing: border-box; } + + .xg-gantt-body-date-line { + z-index: 9; + height: 100%; + width: 20px; + position: absolute; + top: 0; + left: 40px; + background-color: aqua; + opacity: 0.6; + } + + .xg-gantt-body-line-wrap { + width: 100%; + height: 100%; + } } diff --git a/src/components/common/Row.vue b/src/components/common/Row.vue index 10b5dec..de34a46 100644 --- a/src/components/common/Row.vue +++ b/src/components/common/Row.vue @@ -20,6 +20,7 @@