Skip to content

Commit a5b4f38

Browse files
tiltomcreed-victor
andauthoredOct 31, 2024
Make charts bigger on larger screens (#1042)
* Make charts bigger on larger screens * Create tasty-ads-melt.md * feat: expand convert page panel --------- Co-authored-by: Victor Creed <[email protected]>
1 parent c426bb8 commit a5b4f38

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed
 

‎.changeset/tasty-ads-melt.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"frontend": patch
3+
---
4+
5+
Make charts bigger on larger screens

‎apps/frontend/src/app/2_molecules/TradingChart/TradingChart.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ export const TradingChart: FC<TradingChartProps> = ({ pair }) => {
7575
}, [chart, hasCharts, pair]);
7676

7777
return (
78-
<div className="lg:mt-12 mt-6 w-full p-0 sm:border sm:border-gray-50 sm:rounded sm:p-6 sm:bg-gray-90">
78+
<div className="w-full p-0 sm:border sm:border-gray-50 sm:rounded sm:p-6 sm:bg-gray-90">
7979
<div ref={chartContainerRef} className="h-full min-h-96" />
8080
</div>
8181
);

‎apps/frontend/src/app/5_pages/ConvertPage/ConvertPage.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -625,10 +625,10 @@ const ConvertPage: FC = () => {
625625
{t(pageTranslations.subtitle)}
626626
</Paragraph>
627627

628-
<div className="flex flex-col-reverse lg:flex-row lg:space-x-6 xl:w-9/12 w-full">
628+
<div className="flex flex-col-reverse lg:flex-row lg:space-x-6 xl:w-9/12 w-full h-full mt-6 lg:mt-12">
629629
<TradingChart pair={renderPair} />
630630

631-
<div className="lg:mt-12 mt-6 p-0 sm:border sm:border-gray-50 sm:rounded lg:min-w-[28rem] sm:p-6 sm:bg-gray-90">
631+
<div className="p-0 sm:border sm:border-gray-50 sm:rounded lg:min-w-[28rem] sm:p-6 sm:bg-gray-90 self-start h-full">
632632
<div className="bg-gray-80 rounded p-6">
633633
<div className="w-full flex flex-row justify-between items-center">
634634
<Paragraph size={ParagraphSize.base} className="font-medium">

0 commit comments

Comments
 (0)