Skip to content

Commit e1edf3d

Browse files
committed
Fix misalignment of zoom icon relative to network
1 parent 30a7408 commit e1edf3d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/components/parts/IPv4Chart.svelte

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ Visualize various IPv4 related info
111111
</div>
112112
<!-- detail -->
113113
<div class="w-full flex text-cyan items-center mt-2">
114-
<div class="min-w-6" style:width={`${startInPercent}%`}>
114+
<div class="min-w-8" style:width={`${startInPercent}%`}>
115115
<button
116116
class="btn btn-xs btn-outline btn-square rounded-lg pb-0.5 text-cyan mx-1 my-0.5 hover:bg-cyan hover:color:white hover:border-white"
117117
on:click={() => {
@@ -121,9 +121,8 @@ Visualize various IPv4 related info
121121
&#60;
122122
</button>
123123
</div>
124-
125124
<!-- safe list class="order-2 mr-1 lt-sm:order-2 lt-sm:mr-1 lt-xs:order-2 lt-xs:mr-1 !order-4 !mx-0 lt-xs:!order-4 lt-xs:!mx-0" -->
126-
<div class="flex items-center ml-4">
125+
<div class="flex items-center">
127126
<div
128127
class="flex items-center mx--2 text-gray"
129128
class:order-2={showCursorInTheMiddle}
@@ -147,7 +146,7 @@ Visualize various IPv4 related info
147146
<PartialTransition notation={addressCount.toLocaleString()} />
148147
</small>
149148
</div>
150-
<div class="grow flex ml-2">
149+
<div class="grow flex min-w-10">
151150
<div class="grow" />
152151
<button
153152
class="btn btn-xs btn-outline btn-square rounded-lg pb-0.5 text-cyan mx-1 my-0.5 hover:bg-cyan hover:color:white hover:border-white"

0 commit comments

Comments
 (0)