diff --git a/src/lib/components/Table/Table.svelte b/src/lib/components/Table/Table.svelte index f48d296e..7601247e 100644 --- a/src/lib/components/Table/Table.svelte +++ b/src/lib/components/Table/Table.svelte @@ -948,19 +948,7 @@ {item[column.key]?.toFixed(2)}% {/if} {:else if column?.type === "rating"} - {#if ["Strong Buy", "Buy"].includes(item[column.key])} - {item[column.key]} - {:else if ["Strong Sell", "Sell"].includes(item[column.key])} - {item[column.key]} - {:else if item[column.key] === "Hold"} - {item[column.key]} - {:else} - n/a - {/if} + {item[column.key]} {:else if column.type === "sentiment"}
= 55 diff --git a/src/lib/highcharts.ts b/src/lib/highcharts.ts index 77230d72..a2fbfc02 100644 --- a/src/lib/highcharts.ts +++ b/src/lib/highcharts.ts @@ -68,7 +68,7 @@ const resizeObserver = new ResizeObserver(() => { if (chart && browser) { const newWidth = node.clientWidth; // Set height based on viewport width: 300 for mobile, 360 for desktop - const newHeight = (node.clientWidth < 600) ? 300 : 360; + const newHeight = (node.clientWidth < 600) ? 300 : 330; chart?.setSize(newWidth, newHeight, false); } diff --git a/src/routes/analysts/[slug]/+page.svelte b/src/routes/analysts/[slug]/+page.svelte index 28361ec8..d456dee8 100644 --- a/src/routes/analysts/[slug]/+page.svelte +++ b/src/routes/analysts/[slug]/+page.svelte @@ -451,7 +451,9 @@
- + {item?.name?.length > charNumber ? item?.name?.slice(0, charNumber) + "..." : item?.name} @@ -465,23 +467,7 @@ >
{item?.action_company}: - + {item?.rating_current}
diff --git a/src/routes/analysts/analyst-flow/+page.svelte b/src/routes/analysts/analyst-flow/+page.svelte index 370bbe76..104f1e4d 100644 --- a/src/routes/analysts/analyst-flow/+page.svelte +++ b/src/routes/analysts/analyst-flow/+page.svelte @@ -218,23 +218,7 @@ >
{item?.action}: - + {item?.rating_current}
diff --git a/src/routes/etf/[tickerID]/+layout.svelte b/src/routes/etf/[tickerID]/+layout.svelte index 44b3ab3f..53e66b32 100644 --- a/src/routes/etf/[tickerID]/+layout.svelte +++ b/src/routes/etf/[tickerID]/+layout.svelte @@ -381,7 +381,7 @@ class="text-muted dark:text-white w-full max-w-screen sm:max-w-[1250px] min-h-screen overflow-hidden" > -
+
@@ -502,7 +502,7 @@ xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" > @@ -529,7 +529,7 @@ xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" > @@ -544,7 +544,7 @@ xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" > @@ -626,7 +626,7 @@ viewBox="0 0 16 16" > @@ -875,7 +875,7 @@

@@ -1198,13 +1198,11 @@