This commit is contained in:
MuslemRahimi 2025-03-12 11:14:13 +01:00
parent 4af8e0f0ba
commit 14d40e4c1b
2 changed files with 7 additions and 5 deletions

View File

@ -33,7 +33,9 @@
</script> </script>
{#each computedFields as { label, key, isMargin } (key)} {#each computedFields as { label, key, isMargin } (key)}
<tr class="dark:sm:hover:bg-[#245073]/10 odd:bg-[#F6F7F8] dark:odd:bg-odd"> <tr
class="dark:sm:hover:bg-[#245073]/10 odd:bg-[#F6F7F8] dark:odd:bg-odd whitespace-nowrap"
>
<td <td
class="text-start border-r border-gray-300 dark:border-gray-700 text-sm sm:text-[1rem]" class="text-start border-r border-gray-300 dark:border-gray-700 text-sm sm:text-[1rem]"
> >

View File

@ -170,12 +170,12 @@
<thead class="text-muted dark:text-white dark:bg-default"> <thead class="text-muted dark:text-white dark:bg-default">
<tr> <tr>
<th <th
class="whitespace-nowrap dark:odd:bg-odd text-sm sm:text-[1rem] font-normal text-start border-b border-gray-300 dark:border-gray-800" class=" border-b border-gray-300 dark:border-gray-800 font-semibold text-sm sm:text-[1rem] text-start"
>Quarter</th >Quarter</th
> >
{#each geographicXData as item} {#each geographicXData as item}
<th <th
class="z-20 border-b border-gray-300 dark:border-gray-800 font-semibold text-sm text-center" class="z-20 bg-default border-b border-gray-800 text-white font-semibold text-sm text-center bg-default"
>{new Date(item ?? null)?.toLocaleString("en-US", { >{new Date(item ?? null)?.toLocaleString("en-US", {
month: "short", month: "short",
day: "numeric", day: "numeric",
@ -194,7 +194,7 @@
> >
{#each geographiCategoryValues[index] as value} {#each geographiCategoryValues[index] as value}
<td <td
class="whitespace-nowrap text-sm sm:text-[1rem] font-normal text-start border-b border-gray-300 dark:border-gray-800" class="whitespace-nowrap text-sm sm:text-[1rem] font-normal text-center border-b border-gray-300 dark:border-gray-800"
> >
{@html value !== null && {@html value !== null &&
value !== 0 && value !== 0 &&
@ -271,7 +271,7 @@
> >
{#each operatingExpensesCategoryValues[index] as value} {#each operatingExpensesCategoryValues[index] as value}
<td <td
class=" whitespace-nowrap text-sm sm:text-[1rem] text-start border-b border-gray-300 dark:border-gray-800" class=" whitespace-nowrap text-sm sm:text-[1rem] text-center border-b border-gray-300 dark:border-gray-800"
> >
{@html value !== null && {@html value !== null &&
value !== 0 && value !== 0 &&