Skip to content

Commit

Permalink
chore: fix small transactio graph UI (#101)
Browse files Browse the repository at this point in the history
- Change tab title from Graph to Visual
- Fix connection to ancestor's sibings
- Fix the gap in transaction connectors
  • Loading branch information
PatrickDinh authored Jun 17, 2024
1 parent 0c27a7c commit 59dc025
Show file tree
Hide file tree
Showing 9 changed files with 1,366 additions and 143 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -397,10 +397,6 @@
<div
class="p-0 relative pr-8"
>
<div
class="h-full border-primary absolute"
style="margin-left: -20px; border-left-width: 2px;"
/>
<div
class="relative h-full p-0 flex items-center px-0"
style="margin-left: 0px;"
Expand All @@ -422,7 +418,7 @@
</div>
<div
class="border-primary absolute left-0"
style="width: 28px; border-left-width: 2px; height: calc(50% + 2px); top: calc(50% - 2px);"
style="width: 28px; border-left-width: 2px; height: calc(50% + 4px); top: calc(50% - 4px);"
/>
</div>
</div>
Expand Down Expand Up @@ -532,10 +528,6 @@
<div
class="p-0 relative pr-8"
>
<div
class="h-full border-primary absolute"
style="margin-left: -20px; border-left-width: 2px;"
/>
<div
class="relative h-full p-0 flex items-center px-0"
style="margin-left: 0px;"
Expand All @@ -557,7 +549,7 @@
</div>
<div
class="border-primary absolute left-0"
style="width: 28px; border-left-width: 2px; height: calc(50% + 2px); top: calc(50% - 2px);"
style="width: 28px; border-left-width: 2px; height: calc(50% + 4px); top: calc(50% - 4px);"
/>
<div
class="w-2 border-primary rounded-tl absolute left-0"
Expand Down Expand Up @@ -645,10 +637,6 @@
<div
class="p-0 relative pr-8"
>
<div
class="h-full border-primary absolute"
style="margin-left: -20px; border-left-width: 2px;"
/>
<div
class="h-full border-primary absolute"
style="margin-left: 0px; border-left-width: 2px;"
Expand Down Expand Up @@ -774,10 +762,6 @@
<div
class="p-0 relative pr-8"
>
<div
class="h-full border-primary absolute"
style="margin-left: -20px; border-left-width: 2px;"
/>
<div
class="relative h-full p-0 flex items-center px-0"
style="margin-left: 0px;"
Expand All @@ -799,7 +783,7 @@
</div>
<div
class="border-primary absolute left-0"
style="width: 28px; border-left-width: 2px; height: calc(50% + 2px); top: calc(50% - 2px);"
style="width: 28px; border-left-width: 2px; height: calc(50% + 4px); top: calc(50% - 4px);"
/>
</div>
</div>
Expand Down Expand Up @@ -903,10 +887,6 @@
<div
class="p-0 relative pr-8"
>
<div
class="h-full border-primary absolute"
style="margin-left: -20px; border-left-width: 2px;"
/>
<div
class="relative h-full p-0 flex items-center px-0"
style="margin-left: 0px;"
Expand All @@ -928,7 +908,7 @@
</div>
<div
class="border-primary absolute left-0"
style="width: 28px; border-left-width: 2px; height: calc(50% + 2px); top: calc(50% - 2px);"
style="width: 28px; border-left-width: 2px; height: calc(50% + 4px); top: calc(50% - 4px);"
/>
<div
class="w-2 border-primary rounded-tl absolute left-0"
Expand Down Expand Up @@ -1016,10 +996,6 @@
<div
class="p-0 relative pr-8"
>
<div
class="h-full border-primary absolute"
style="margin-left: -20px; border-left-width: 2px;"
/>
<div
class="h-full border-primary absolute"
style="margin-left: 0px; border-left-width: 2px;"
Expand Down Expand Up @@ -1145,10 +1121,6 @@
<div
class="p-0 relative pr-8"
>
<div
class="h-full border-primary absolute"
style="margin-left: -20px; border-left-width: 2px;"
/>
<div
class="relative h-full p-0 flex items-center px-0"
style="margin-left: 0px;"
Expand All @@ -1170,7 +1142,7 @@
</div>
<div
class="border-primary absolute left-0"
style="width: 28px; border-left-width: 2px; height: calc(50% + 2px); top: calc(50% - 2px);"
style="width: 28px; border-left-width: 2px; height: calc(50% + 4px); top: calc(50% - 4px);"
/>
</div>
</div>
Expand Down Expand Up @@ -1273,10 +1245,6 @@
<div
class="p-0 relative pr-8"
>
<div
class="h-full border-primary absolute"
style="margin-left: -20px; border-left-width: 2px;"
/>
<div
class="relative h-full p-0 flex items-center px-0"
style="margin-left: 0px;"
Expand All @@ -1298,7 +1266,7 @@
</div>
<div
class="border-primary absolute left-0"
style="width: 28px; border-left-width: 2px; height: calc(50% + 2px); top: calc(50% - 2px);"
style="width: 28px; border-left-width: 2px; height: calc(50% + 4px); top: calc(50% - 4px);"
/>
<div
class="w-2 border-primary rounded-tl absolute left-0"
Expand Down Expand Up @@ -1386,10 +1354,6 @@
<div
class="p-0 relative pr-8"
>
<div
class="h-full border-primary absolute"
style="margin-left: -20px; border-left-width: 2px;"
/>
<div
class="h-full border-primary absolute"
style="margin-left: 0px; border-left-width: 2px;"
Expand Down Expand Up @@ -1515,10 +1479,6 @@
<div
class="p-0 relative pr-8"
>
<div
class="h-full border-primary absolute"
style="margin-left: -20px; border-left-width: 2px;"
/>
<div
class="relative h-full p-0 flex items-center px-0"
style="margin-left: 0px;"
Expand All @@ -1540,7 +1500,7 @@
</div>
<div
class="border-primary absolute left-0"
style="width: 28px; border-left-width: 2px; height: calc(50% + 2px); top: calc(50% - 2px);"
style="width: 28px; border-left-width: 2px; height: calc(50% + 4px); top: calc(50% - 4px);"
/>
</div>
</div>
Expand Down Expand Up @@ -1642,10 +1602,6 @@
<div
class="p-0 relative pr-8"
>
<div
class="h-full border-primary absolute"
style="margin-left: -20px; border-left-width: 2px;"
/>
<div
class="relative h-full p-0 flex items-center px-0"
style="margin-left: 0px;"
Expand All @@ -1667,7 +1623,7 @@
</div>
<div
class="border-primary absolute left-0"
style="width: 28px; border-left-width: 2px; height: calc(50% + 2px); top: calc(50% - 2px);"
style="width: 28px; border-left-width: 2px; height: calc(50% + 4px); top: calc(50% - 4px);"
/>
<div
class="w-2 border-primary rounded-tl absolute left-0"
Expand Down Expand Up @@ -1752,10 +1708,6 @@
<div
class="p-0 relative pr-8"
>
<div
class="h-full border-primary absolute"
style="margin-left: -20px; border-left-width: 2px;"
/>
<div
class="h-full border-primary absolute"
style="margin-left: 0px; border-left-width: 2px;"
Expand Down Expand Up @@ -1882,10 +1834,6 @@
<div
class="p-0 relative pr-8"
>
<div
class="h-full border-primary absolute"
style="margin-left: -20px; border-left-width: 2px;"
/>
<div
class="relative h-full p-0 flex items-center px-0"
style="margin-left: 0px;"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,6 @@
<div
class="p-0 relative pr-8"
>
<div
class="h-full border-primary absolute"
style="margin-left: -20px; border-left-width: 2px;"
/>
<div
class="relative h-full p-0 flex items-center px-0"
style="margin-left: 0px;"
Expand All @@ -264,7 +260,7 @@
</div>
<div
class="border-primary absolute left-0"
style="width: 28px; border-left-width: 2px; height: calc(50% + 2px); top: calc(50% - 2px);"
style="width: 28px; border-left-width: 2px; height: calc(50% + 4px); top: calc(50% - 4px);"
/>
</div>
</div>
Expand Down Expand Up @@ -370,10 +366,6 @@
<div
class="p-0 relative pr-8"
>
<div
class="h-full border-primary absolute"
style="margin-left: -20px; border-left-width: 2px;"
/>
<div
class="relative h-full p-0 flex items-center px-0"
style="margin-left: 0px;"
Expand Down
Loading

0 comments on commit 59dc025

Please sign in to comment.