diff --git a/package.json b/package.json index e311b9b7..939f582d 100644 --- a/package.json +++ b/package.json @@ -50,6 +50,7 @@ "react-toastify": "^9.1.3", "react-use-clipboard": "^1.0.9", "recharts": "^2.10.1", + "sharp": "^0.33.0", "swr": "^2.2.4", "tailwind-scrollbar-hide": "^1.1.7", "zustand": "^4.4.6" diff --git a/src/components/Trade/TradeChart/TVChartContainer.tsx b/src/components/Trade/TradeChart/TVChartContainer.tsx index f8b69354..4197e7e6 100644 --- a/src/components/Trade/TradeChart/TVChartContainer.tsx +++ b/src/components/Trade/TradeChart/TVChartContainer.tsx @@ -156,7 +156,7 @@ export const TVChartContainer = (props: Props) => { } contentClassName='px-0.5 pb-0.5 h-full' - className='min-h-[55vh] h-full' + className='min-h-[55dvh] h-full' >
diff --git a/src/components/Trade/TradeChart/index.tsx b/src/components/Trade/TradeChart/index.tsx index 237aa691..163969b9 100644 --- a/src/components/Trade/TradeChart/index.tsx +++ b/src/components/Trade/TradeChart/index.tsx @@ -45,7 +45,7 @@ export default function TradeChart(props: Props) { } contentClassName='px-0.5 pb-0.5 h-full' - className='min-h-[55vh]' + className='min-h-[55dvh]' >