ui fix
This commit is contained in:
parent
6d6fd2d5ce
commit
33a13b04bf
@ -163,9 +163,9 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{#each topHoldingList?.slice(0, 5) as item}
|
{#each topHoldingList?.slice(0, 5) as item}
|
||||||
{#if item?.asset !== null}
|
{#if item?.symbol !== null}
|
||||||
<tr
|
<tr
|
||||||
on:click={() => stockSelector(item?.asset)}
|
on:click={() => stockSelector(item?.symbol)}
|
||||||
class="lg:shake-ticker sm:hover:text-white text-blue-400 cursor-pointer lg:hover:bg-[#245073] lg:hover:bg-opacity-[0.2] bg-[#000] lg:bg-[#09090B] border-b border-[#000] lg:border-[#27272A]"
|
class="lg:shake-ticker sm:hover:text-white text-blue-400 cursor-pointer lg:hover:bg-[#245073] lg:hover:bg-opacity-[0.2] bg-[#000] lg:bg-[#09090B] border-b border-[#000] lg:border-[#27272A]"
|
||||||
>
|
>
|
||||||
<td class="">
|
<td class="">
|
||||||
@ -176,15 +176,15 @@
|
|||||||
<img
|
<img
|
||||||
style="clip-path: circle(50%);"
|
style="clip-path: circle(50%);"
|
||||||
class="w-6 h-6 rounded-full"
|
class="w-6 h-6 rounded-full"
|
||||||
src={item?.asset?.length !== 0
|
src={item?.symbol?.length !== 0
|
||||||
? `https://financialmodelingprep.com/image-stock/${item?.asset}.png`
|
? `https://financialmodelingprep.com/image-stock/${item?.symbol}.png`
|
||||||
: defaultLogo}
|
: defaultLogo}
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-col ml-3 w-full">
|
<div class="flex flex-col ml-3 w-full">
|
||||||
<span class="text-sm font-medium"
|
<span class="text-sm font-medium"
|
||||||
>{item?.asset ?? "-"}</span
|
>{item?.symbol ?? "-"}</span
|
||||||
>
|
>
|
||||||
<span class="text-white text-sm">
|
<span class="text-white text-sm">
|
||||||
{#if typeof item?.name !== "undefined"}
|
{#if typeof item?.name !== "undefined"}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user