ui fix
This commit is contained in:
parent
7bd2abb8f0
commit
bc6e7da883
@ -24,7 +24,7 @@
|
||||
: 'hidden'}"
|
||||
>
|
||||
<div
|
||||
class="sm:rounded-lg shadow-lg bg-[#000] lg:bg-[#09090B] lg:border lg:border-slate-800 h-auto {$screenWidth <=
|
||||
class="sm:rounded-md shadow-lg bg-[#000] lg:bg-[#09090B] lg:border lg:border-slate-800 h-auto {$screenWidth <=
|
||||
800
|
||||
? 'w-screen pt-16'
|
||||
: ''} md:w-[420px] xl:w-[450px]"
|
||||
@ -96,9 +96,9 @@
|
||||
<label
|
||||
for="dividendModal"
|
||||
on:click={() => goto(`/etf/${$etfTicker}/dividends`)}
|
||||
class="rounded-lg cursor-pointer w-11/12 md:w-3/4 lg:w-11/12 py-2 h-full mt-8 lg:mt-6 text-[1rem] text-center font-semibold text-white m-auto sm:hover:bg-gray-300 bg-[#fff] transition duration-100 ease-in"
|
||||
class="rounded-md cursor-pointer w-11/12 md:w-3/4 lg:w-11/12 py-2 h-full mt-8 lg:mt-6 text-[1rem] text-center font-semibold text-black m-auto sm:hover:bg-gray-300 bg-[#fff] transition duration-100 ease-in"
|
||||
>
|
||||
View Dividend History
|
||||
Dividend History
|
||||
</label>
|
||||
{:else}
|
||||
<h2
|
||||
|
||||
@ -71,10 +71,7 @@
|
||||
class="text-white font-semibold text-sm text-start bg-[#000] lg:bg-[#09090B]"
|
||||
>Company</th
|
||||
>
|
||||
<th
|
||||
class="text-white font-semibold text-sm text-end bg-[#000] lg:bg-[#09090B]"
|
||||
>Market Value</th
|
||||
>
|
||||
|
||||
<th
|
||||
class="text-white font-semibold text-sm text-end bg-[#000] lg:bg-[#09090B]"
|
||||
>Portfolio</th
|
||||
@ -119,12 +116,6 @@
|
||||
</div>
|
||||
</td>
|
||||
|
||||
<td class="text-white text-end font-semibold">
|
||||
{item?.marketValue !== null
|
||||
? abbreviateNumber(item?.marketValue, true)
|
||||
: "-"}
|
||||
</td>
|
||||
|
||||
<td class="text-white font-semibold text-end">
|
||||
{abbreviateNumber(item?.weightPercentage?.toFixed(2))}%
|
||||
</td>
|
||||
@ -138,9 +129,9 @@
|
||||
<label
|
||||
for="topHoldingModal"
|
||||
on:click={() => goto(`/etf/${$etfTicker}/holdings`)}
|
||||
class="rounded-lg cursor-pointer w-11/12 md:w-3/4 lg:w-11/12 py-2 h-full mt-8 lg:mt-6 text-[1rem] text-center font-semibold text-white m-auto sm:hover:bg-gray-300 bg-[#fff] transition duration-100 ease-in"
|
||||
class="rounded-md cursor-pointer w-11/12 md:w-3/4 lg:w-11/12 py-2 h-full mt-8 lg:mt-6 text-[1rem] text-center font-semibold text-black m-auto sm:hover:bg-gray-300 bg-[#fff] transition duration-100 ease-in"
|
||||
>
|
||||
View All Holdings
|
||||
All Holdings
|
||||
</label>
|
||||
{:else}
|
||||
<h2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user