From 0f968e2228c71adb630dd10ffe7d813f446d28e3 Mon Sep 17 00:00:00 2001 From: Piotr Matlak Date: Wed, 26 Jun 2024 16:10:09 +0200 Subject: [PATCH 1/4] fix mobile issues --- src/components/Header/Header.tsx | 8 ++++++-- src/components/Header/style.ts | 10 ++++++---- src/components/Modals/AddTokenModal/style.ts | 1 + .../SelectTokenModal/SelectTokenModal.tsx | 2 +- src/components/Modals/SelectModals/style.ts | 5 +++++ .../ConcentrationTypeSwitch.tsx | 2 +- .../NewPosition/DepositSelector/style.ts | 8 ++++++-- src/components/NewPosition/PoolInit/style.ts | 5 ++++- .../NewPosition/RangeSelector/style.ts | 8 ++++++-- src/components/NoConnected/style.tsx | 5 ++++- .../LiquidationRangeInfo/style.ts | 3 ++- .../PositionDetails/SinglePositionInfo/style.ts | 3 ++- .../PositionDetails/SinglePositionPlot/style.ts | 6 +++++- .../PositionsList/PositionItem/style.tsx | 6 +++++- src/components/PositionsList/PositionsList.tsx | 2 +- src/components/PositionsList/style.ts | 3 ++- src/components/Snackbar/style.ts | 16 ++++++++-------- src/components/Swap/style.ts | 8 ++++++-- src/pages/ListPage/styles.ts | 2 +- src/pages/NewPositionPage/styles.ts | 2 +- src/pages/SinglePositionPage/styles.ts | 2 +- src/pages/StatsPage/styles.ts | 2 +- 22 files changed, 75 insertions(+), 34 deletions(-) diff --git a/src/components/Header/Header.tsx b/src/components/Header/Header.tsx index d0d3e496..c7641400 100644 --- a/src/components/Header/Header.tsx +++ b/src/components/Header/Header.tsx @@ -97,7 +97,11 @@ export const Header: React.FC = ({ justifyContent='flex-start' sx={{ display: { xs: 'block', md: 'none' } }}> - + navigate('/swap')} + /> @@ -124,7 +128,7 @@ export const Header: React.FC = ({ ))} - + {typeOfNetwork === Network.Testnet ? (