ui fix
This commit is contained in:
parent
4619703042
commit
f2f2319da6
@ -42,16 +42,16 @@
|
|||||||
<div
|
<div
|
||||||
class="w-full p-2 text-white border border-gray-600 rounded-md h-fit pb-4 mt-4 cursor-pointer"
|
class="w-full p-2 text-white border border-gray-600 rounded-md h-fit pb-4 mt-4 cursor-pointer"
|
||||||
>
|
>
|
||||||
<h3 class="p-2 pt-4 text-xl font-semibold">Related Stocks</h3>
|
<h3 class="p-2 pt-4 text-2xl font-semibold">Related Stocks</h3>
|
||||||
<table class="table table-sm table-compact w-full text-white">
|
<table class="table table-sm table-compact w-full text-white">
|
||||||
<thead class="text-white"
|
<thead class="text-white"
|
||||||
><tr
|
><tr
|
||||||
><th
|
><th
|
||||||
class="whitespace-nowrap border-b font-semibold text-sm text-left"
|
class="whitespace-nowrap border-b font-semibold text-[1rem] text-left"
|
||||||
>Company</th
|
>Company</th
|
||||||
>
|
>
|
||||||
<th
|
<th
|
||||||
class="whitespace-nowrap border-b font-semibold text-sm text-right"
|
class="whitespace-nowrap border-b font-semibold text-[1rem] text-right"
|
||||||
>Employees</th
|
>Employees</th
|
||||||
></tr
|
></tr
|
||||||
></thead
|
></thead
|
||||||
@ -66,11 +66,11 @@
|
|||||||
><td class="text-left"
|
><td class="text-left"
|
||||||
><a
|
><a
|
||||||
href={`/stocks/${item?.symbol}`}
|
href={`/stocks/${item?.symbol}`}
|
||||||
class="sm:hover:text-white text-blue-400"
|
class="text-[1rem] sm:hover:text-white text-blue-400"
|
||||||
>{item?.symbol}</a
|
>{item?.symbol}</a
|
||||||
></td
|
></td
|
||||||
>
|
>
|
||||||
<td class="text-right cursor-normal"
|
<td class="text-right text-[1rem] cursor-normal"
|
||||||
>{item?.employees !== null &&
|
>{item?.employees !== null &&
|
||||||
item?.employees !== undefined
|
item?.employees !== undefined
|
||||||
? parseFloat(item?.employees).toLocaleString(
|
? parseFloat(item?.employees).toLocaleString(
|
||||||
|
|||||||
@ -107,16 +107,16 @@
|
|||||||
<div
|
<div
|
||||||
class="w-full p-2 text-white border border-gray-600 rounded-md h-fit pb-4 mt-4 cursor-pointer"
|
class="w-full p-2 text-white border border-gray-600 rounded-md h-fit pb-4 mt-4 cursor-pointer"
|
||||||
>
|
>
|
||||||
<h3 class="p-2 pt-4 text-xl font-semibold">Related Stocks</h3>
|
<h3 class="p-2 pt-4 text-2xl font-semibold">Related Stocks</h3>
|
||||||
<table class="table table-sm table-compact w-full text-white">
|
<table class="table table-sm table-compact w-full text-white">
|
||||||
<thead class="text-white"
|
<thead class="text-white"
|
||||||
><tr
|
><tr
|
||||||
><th
|
><th
|
||||||
class="whitespace-nowrap border-b font-semibold text-sm text-left"
|
class="whitespace-nowrap border-b font-semibold text-[1rem] text-left"
|
||||||
>Company</th
|
>Company</th
|
||||||
>
|
>
|
||||||
<th
|
<th
|
||||||
class="whitespace-nowrap border-b font-semibold text-sm text-right"
|
class="whitespace-nowrap border-b font-semibold text-[1rem] text-right"
|
||||||
>Market Cap</th
|
>Market Cap</th
|
||||||
></tr
|
></tr
|
||||||
></thead
|
></thead
|
||||||
@ -125,18 +125,18 @@
|
|||||||
{#each similarStocks?.slice(0, 8) as item, index}
|
{#each similarStocks?.slice(0, 8) as item, index}
|
||||||
{#if item?.marketCap > 0}
|
{#if item?.marketCap > 0}
|
||||||
<tr
|
<tr
|
||||||
class="border-gray-600 {index !==
|
class="border-gray-600 text-[1rem] {index !==
|
||||||
similarStocks?.slice(0, 8).length - 1
|
similarStocks?.slice(0, 8).length - 1
|
||||||
? 'border-b'
|
? 'border-b'
|
||||||
: ''}"
|
: ''}"
|
||||||
><td class="text-left"
|
><td class="text-left text-[1rem]"
|
||||||
><a
|
><a
|
||||||
href={`/stocks/${item?.symbol}`}
|
href={`/stocks/${item?.symbol}`}
|
||||||
class="sm:hover:text-white text-blue-400"
|
class="sm:hover:text-white text-blue-400"
|
||||||
>{item?.symbol}</a
|
>{item?.symbol}</a
|
||||||
></td
|
></td
|
||||||
>
|
>
|
||||||
<td class="text-right cursor-normal"
|
<td class="text-right cursor-normal text-[1rem]"
|
||||||
>{abbreviateNumber(item?.marketCap)}</td
|
>{abbreviateNumber(item?.marketCap)}</td
|
||||||
>
|
>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user