Skip to content

Commit de09962

Browse files
committed
fix: make the line in the timeline visible
1 parent 07a2e4f commit de09962

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/ui/timeline.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,14 +131,14 @@ export const Timeline = ({ data }: { data: TimelineEntry[] }) => {
131131
style={{
132132
height: height + 'px',
133133
}}
134-
className="absolute md:left-8 left-8 top-0 overflow-hidden w-[2px] bg-gradient-to-b from-transparent from-[0%] via-lab-sec to-transparent to-[99%] [mask-image:linear-gradient(to_bottom,transparent_0%,black_10%,black_90%,transparent_100%)]"
134+
className="absolute md:left-8 left-8 top-0 overflow-hidden w-[2px] bg-gradient-to-b from-transparent from-[0%] via-lab-green to-transparent to-[100%]"
135135
>
136136
<motion.div
137137
style={{
138138
height: heightTransform,
139139
opacity: opacityTransform,
140140
}}
141-
className="absolute inset-x-0 top-0 w-[2px] bg-gradient-to-t from-lab-green via-lab-green to-lab-green from-[0%] via-[50%] to-[100%] rounded-full"
141+
className="absolute top-0 w-[2px] bg-gradient-to-t from-lab-green via-lab-green to-lab-green from-[0%] via-[50%] to-[100%] rounded-full"
142142
/>
143143
</div>
144144
</div>

0 commit comments

Comments
 (0)