ui fix
This commit is contained in:
parent
5b26ad5672
commit
789064943f
@ -361,13 +361,13 @@
|
|||||||
? 'text-[#FF2F1F]'
|
? 'text-[#FF2F1F]'
|
||||||
: 'text-white'} text-end font-medium text-sm sm:text-[1rem] whitespace-nowrap"
|
: 'text-white'} text-end font-medium text-sm sm:text-[1rem] whitespace-nowrap"
|
||||||
>
|
>
|
||||||
{item?.changeInSharesNumberPercentage !== null
|
{item?.changeInSharesNumberPercentage !== 0
|
||||||
? abbreviateNumber(
|
? abbreviateNumber(
|
||||||
item?.changeInSharesNumberPercentage?.toFixed(
|
item?.changeInSharesNumberPercentage?.toFixed(
|
||||||
2,
|
2,
|
||||||
),
|
),
|
||||||
) + "%"
|
) + "%"
|
||||||
: "n/a"}
|
: "-"}
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td
|
<td
|
||||||
@ -386,7 +386,9 @@
|
|||||||
<td
|
<td
|
||||||
class="text-white text-end font-medium text-sm sm:text-[1rem] whitespace-nowrap"
|
class="text-white text-end font-medium text-sm sm:text-[1rem] whitespace-nowrap"
|
||||||
>
|
>
|
||||||
{item?.weight?.toFixed(2)}%
|
{item?.weight >= 0.01
|
||||||
|
? item?.weight?.toFixed(2)
|
||||||
|
: "< 0.01"}%
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{/each}
|
{/each}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user