Skip to content

Commit 1311fbe

Browse files
committed
fix: z-index
1 parent 5b28185 commit 1311fbe

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

infrastructure/control-panel/src/fragments/LiveDataFlow/LiveDataFlow.svelte

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,35 +12,26 @@
1212

1313
<style>
1414
.dot{
15-
offset-path: rect(0px 92% 175px 0px round 10%);
15+
offset-path: rect(0px 100% 175px 0px round 0%);
1616
offset-distance: 0%;
1717
offset-rotate: auto;
1818
animation: move 10s linear infinite;
1919
}
2020
2121
@keyframes move {
2222
0% {
23-
offset-distance: 0%;
24-
}
25-
25% {
26-
offset-distance: 25%;
27-
}
28-
50% {
29-
offset-distance: 50%;
30-
}
31-
75% {
32-
offset-distance: 75%;
23+
offset-distance: 100%;
3324
}
3425
100% {
35-
offset-distance: 100%;
26+
offset-distance: 0%;
3627
}
3728
}
3829
</style>
3930

4031
<article class="w-full h-[80vh] px-16 flex items-center bg-gray rounded-md">
4132
<div class="relative w-full flex justify-between items-center z-10">
4233
<!-- svelte-ignore element_invalid_self_closing_tag -->
43-
<div class="w-[92%] h-[175px] absolute top-[55%] start-[50%] translate-x-[-50%] bg-transparent border border-t-transparent border-s-green border-b-green border-e-green rounded-md">
34+
<div class="w-[92%] h-[175px] absolute top-[55%] start-[50%] z-[-1] translate-x-[-50%] bg-transparent border border-t-transparent border-s-green border-b-green border-e-green rounded-md">
4435
<div class="dot absolute h-2.5 w-2.5 top-0 start-[-1px] bg-green rounded-full"/>
4536
</div>
4637

0 commit comments

Comments
 (0)