correct table background
This commit is contained in:
parent
f159335e8e
commit
37de517420
@ -403,24 +403,33 @@
|
|||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
{#if displayData === "EPS"}
|
{#if displayData === "EPS"}
|
||||||
<tr class="bg-[#09090B] border-b-[#09090B]">
|
<tr class="bg-[#27272A] border-b-[#27272A]">
|
||||||
<th class="text-white whitespace-nowrap text-sm sm:text-[1rem] text-start font-medium bg-[#09090B] border-b border-[#09090B]">Forward PE</th>
|
<th class="bg-[#27272A] text-sm sm:text-[1rem] whitespace-nowrap text-white text-start font-medium bg-[#27272A] border-b border-[#27272A]">Forward PE</th>
|
||||||
{#each tableDataForecast as item}
|
{#each tableDataForecast as item}
|
||||||
<td class="text-white text-sm sm:text-[1rem] text-end font-medium border-b border-[#09090B]">
|
<td class="text-white text-sm sm:text-[1rem] text-end font-medium bg-[#27272A]">
|
||||||
{item?.forwardPe === "0.00" || item?.forwardPe === null || item?.forwardPe === 0 ? "-" : abbreviateNumber(item.forwardPe)}
|
{item?.forwardPe === "0.00" || item?.forwardPe === null || item?.forwardPe === 0 ? "-" : abbreviateNumber(item.forwardPe)}
|
||||||
</td>
|
</td>
|
||||||
{/each}
|
{/each}
|
||||||
</tr>
|
</tr>
|
||||||
{/if}
|
|
||||||
|
|
||||||
<tr class="bg-[#27272A] border-b-[#27272A]">
|
<tr class="odd:bg-[#09090B] border-b-[#09090B]">
|
||||||
<th class="bg-[#27272A] whitespace-nowrap text-sm sm:text-[1rem] text-white text-start font-medium bg-[#27272A] border-b border-[#27272A]"> No. Analysts </th>
|
<th class="text-white whitespace-nowrap text-sm sm:text-[1rem] text-start font-medium bg-[#09090B] border-b border-[#09090B]">No. Analysts</th>
|
||||||
{#each tableDataForecast as item}
|
{#each tableDataForecast as item}
|
||||||
<td class="text-white text-sm sm:text-[1rem] text-end font-medium bg-[#27272A]">
|
<td class="text-white text-sm sm:text-[1rem] text-end font-medium border-b border-[#09090B]">
|
||||||
{item?.numOfAnalysts === (null || 0) ? "-" : item?.numOfAnalysts}
|
{item?.numOfAnalysts === (null || 0) ? "-" : item?.numOfAnalysts}
|
||||||
</td>
|
</td>
|
||||||
{/each}
|
{/each}
|
||||||
</tr>
|
</tr>
|
||||||
|
{:else}
|
||||||
|
<tr class="bg-[#27272A] border-b-[#27272A]">
|
||||||
|
<th class="bg-[#27272A] whitespace-nowrap text-sm sm:text-[1rem] text-white text-start font-medium bg-[#27272A] border-b border-[#27272A]"> No. Analysts </th>
|
||||||
|
{#each tableDataForecast as item}
|
||||||
|
<td class="text-white text-sm sm:text-[1rem] text-end font-medium bg-[#27272A]">
|
||||||
|
{item?.numOfAnalysts === (null || 0) ? "-" : item?.numOfAnalysts}
|
||||||
|
</td>
|
||||||
|
{/each}
|
||||||
|
</tr>
|
||||||
|
{/if}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user