This commit is contained in:
MuslemRahimi 2024-12-28 21:40:51 +01:00
parent 4f5491c2a4
commit 35b1cacaca
3 changed files with 6 additions and 48 deletions

View File

@ -460,20 +460,3 @@
</div>
</main>
</section>
<style>
.app {
height: 300px;
max-width: 100%; /* Ensure chart width doesn't exceed the container */
}
@media (max-width: 640px) {
.app {
height: 210px;
}
}
.chart {
width: 100%;
}
</style>

View File

@ -870,7 +870,6 @@
<!--Start Ticker Section-->
<!--<div class="w-full max-w-3xl sm:max-w-2xl m-auto pt-2 pb-5 sm:pl-3 sticky z-20 bg-default" style="top: {$screenWidth < 520 && $isScrollingUp ? '4rem' : '0rem'};">-->
<nav
class="sm:ml-4 border-b-[2px] overflow-x-scroll md:overflow-hidden whitespace-nowrap"
>
@ -973,6 +972,7 @@
</nav>
<!--Start-Main Content-->
<slot />
<!--End Main Content-->
</div>

View File

@ -803,20 +803,6 @@
</DropdownMenu.Label>
<DropdownMenu.Separator />
<DropdownMenu.Group>
<!--
<DropdownMenu.Item on:click={exportData} class="cursor-pointer sm:hover:bg-primary">
<svg class="w-3.5 h-3.5 mr-1 {data?.user?.tier === 'Pro' ? 'hidden' : ''}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#A3A3A3" d="M17 9V7c0-2.8-2.2-5-5-5S7 4.2 7 7v2c-1.7 0-3 1.3-3 3v7c0 1.7 1.3 3 3 3h10c1.7 0 3-1.3 3-3v-7c0-1.7-1.3-3-3-3M9 7c0-1.7 1.3-3 3-3s3 1.3 3 3v2H9z"/></svg>
1 min
</DropdownMenu.Item>
<DropdownMenu.Item on:click={exportData} class="cursor-pointer sm:hover:bg-primary">
<svg class="w-3.5 h-3.5 mr-1 {data?.user?.tier === 'Pro' ? 'hidden' : ''}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#A3A3A3" d="M17 9V7c0-2.8-2.2-5-5-5S7 4.2 7 7v2c-1.7 0-3 1.3-3 3v7c0 1.7 1.3 3 3 3h10c1.7 0 3-1.3 3-3v-7c0-1.7-1.3-3-3-3M9 7c0-1.7 1.3-3 3-3s3 1.3 3 3v2H9z"/></svg>
5 min
</DropdownMenu.Item>
<DropdownMenu.Item on:click={exportData} class="cursor-pointer sm:hover:bg-primary">
<svg class="w-3.5 h-3.5 mr-1 {data?.user?.tier === 'Pro' ? 'hidden' : ''}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#A3A3A3" d="M17 9V7c0-2.8-2.2-5-5-5S7 4.2 7 7v2c-1.7 0-3 1.3-3 3v7c0 1.7 1.3 3 3 3h10c1.7 0 3-1.3 3-3v-7c0-1.7-1.3-3-3-3M9 7c0-1.7 1.3-3 3-3s3 1.3 3 3v2H9z"/></svg>
15 min
</DropdownMenu.Item>
-->
<DropdownMenu.Item
on:click={() => exportData("30min")}
class="cursor-pointer sm:hover:bg-primary"
@ -1376,9 +1362,9 @@
<div class="lg:sticky lg:top-20"></div>
</div>
<div class="lg:w-[65%] 2xl:w-[70%]">
<div class="w-full lg:w-[65%] 2xl:w-[70%]">
<div
class="w-full mt-10 sm:mt-0 m-auto sm:pl-6 sm:pb-6 {Object?.keys(
class="w-full m-auto sm:pl-6 sm:pb-6 {Object?.keys(
data?.getEarningsSurprise || {},
)?.length !== 0
? ''
@ -1388,7 +1374,7 @@
</div>
<div
class="w-full m-auto sm:pl-6 sm:pb-6 {Object?.keys(
class="w-full mt-5 m-auto sm:pl-6 sm:pb-6 {Object?.keys(
data?.getNextEarnings || {},
)?.length !== 0
? ''
@ -1396,20 +1382,9 @@
>
<NextEarnings {data} />
</div>
<!--
<div
class="w-full mt-10 sm:mt-0 m-auto sm:pl-6 sm:pb-6 {Object?.keys(
data?.getBullBearSay || {},
)?.length !== 0
? ''
: 'hidden'}"
>
<BullBearSay {data} />
</div>
-->
<div
class="w-full mt-10 sm:mt-0 m-auto sm:pl-6 sm:pb-6 {data
class="w-full mt-5 sm:mt-0 m-auto sm:pl-6 sm:pb-6 {data
?.getWhyPriceMoved?.length !== 0
? ''
: 'hidden'}"
@ -1417,7 +1392,7 @@
<WIIM {data} />
</div>
<div class="w-full mt-10 sm:mt-0 m-auto sm:pl-6 sm:pb-6 sm:pt-6">
<div class="w-full mt-5 sm:mt-0 m-auto sm:pl-6 sm:pb-6 sm:pt-6">
<News {data} />
</div>
</div>