This commit is contained in:
MuslemRahimi 2025-01-02 10:13:43 +01:00
parent 527fe1f123
commit c5527e55e6
2 changed files with 8 additions and 3 deletions

View File

@ -73,9 +73,14 @@
>{@html abbreviateNumber(rawData?.revenueEst, true, true)}</span
>, reflecting a
<span
class="{revenueRatio > 0
class="{revenueRatio >= 0 && revenueRatio !== 'Infinity'
? "before:content-['+'] text-[#00FC50]"
: 'text-[#FF2F1F]'} ">{abbreviateNumber(revenueRatio)}%</span
: revenueRatio < 0 && revenueRatio !== 'Infinity'
? 'text-[#FF2F1F]'
: 'text-white'} "
>{revenueRatio !== "Infinity"
? abbreviateNumber(revenueRatio) + "%"
: "n/a"}</span
>
YoY {revenueRatio > 0 ? "growth" : revenueRatio < 0 ? "shrinking" : ""}
{#if epsRatio !== null}

View File

@ -1328,7 +1328,7 @@
<!--End Graph-->
<div
class="mt-6 flex flex-col lg:flex-row gap-x-14 items-start w-full"
class="mt-6 flex flex-col lg:flex-row gap-x-14 items-start w-full justify-between"
>
<div
class="lg:space-y-6 lg:order-2 lg:pt-1 sm:pl-7 lg:pl-0 w-full lg:w-[45%] sm:ml-auto"