From ddf2cc82c934034926f920e56a8db6c50f7f958c Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Thu, 20 Feb 2025 10:56:09 +0100 Subject: [PATCH] ui fix --- .../statistics/market-cap/+layout.svelte | 41 ++++++++----------- .../statistics/market-cap/+page.svelte | 18 +++++--- 2 files changed, 30 insertions(+), 29 deletions(-) diff --git a/src/routes/stocks/[tickerID]/statistics/market-cap/+layout.svelte b/src/routes/stocks/[tickerID]/statistics/market-cap/+layout.svelte index f175fa77..36a99818 100644 --- a/src/routes/stocks/[tickerID]/statistics/market-cap/+layout.svelte +++ b/src/routes/stocks/[tickerID]/statistics/market-cap/+layout.svelte @@ -104,32 +104,25 @@ {/if}
-
-
-
-

- Market Capitalization -

-
-
- Market capitalization, also called net worth, is the total - value of all of a company's outstanding shares. It is - calculated by multiplying the stock price by the number of - shares outstanding. -
-
- Formula: Market Cap = Stock Price * Shares Outstanding -
- - Full Definition - -
+

+ Market Capitalization +

+
+ Market capitalization, also called net worth, is the total value + of all of a company's outstanding shares. It is calculated by + multiplying the stock price by the number of shares outstanding. +
+
+ Formula: Market Cap = Stock Price * Shares Outstanding
+ + Full Definition +
{#if similarStocks?.length > 0} diff --git a/src/routes/stocks/[tickerID]/statistics/market-cap/+page.svelte b/src/routes/stocks/[tickerID]/statistics/market-cap/+page.svelte index 73d63360..088f8882 100644 --- a/src/routes/stocks/[tickerID]/statistics/market-cap/+page.svelte +++ b/src/routes/stocks/[tickerID]/statistics/market-cap/+page.svelte @@ -501,10 +501,14 @@
-
-

Market Cap Chart

+
+

+ Historical Chart +

@@ -513,7 +517,9 @@ builders={[builder]} class="w-full border-gray-600 border bg-default sm:hover:bg-primary ease-out flex flex-row justify-between items-center px-3 py-2 text-white rounded-md truncate" > - {timePeriod} + {timePeriod} exportData("csv")} class="ml-2 w-full border-gray-600 border bg-default sm:hover:bg-primary ease-out flex flex-row justify-between items-center px-3 py-2 text-white rounded-md truncate" > - Download + Download