From 8fa0ec9665eac8280070bf78cba72425d8e8f198 Mon Sep 17 00:00:00 2001 From: Lucas Magnus Date: Tue, 20 Feb 2024 11:13:31 -0300 Subject: [PATCH] fix helper responsive --- .../src/app/core/pages/cost-center/index.tsx | 18 +++++++++++++++++- .../components/templates/cost-center/index.tsx | 2 +- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/core/pages/cost-center/index.tsx b/frontend/src/app/core/pages/cost-center/index.tsx index 111e4d6..207763b 100644 --- a/frontend/src/app/core/pages/cost-center/index.tsx +++ b/frontend/src/app/core/pages/cost-center/index.tsx @@ -283,6 +283,7 @@ export const CostCenter: React.FC = () => { w="full" justifyContent="center" gap="1.5rem" + pb="3.5rem" > { {operatingExpensesHelperP1} - + {operatingExpensesHelperP2} )} + {!isLargerThanMd && ( + + + {operatingExpensesHelperP1} + + + {operatingExpensesHelperP2} + + + )} diff --git a/frontend/src/components/templates/cost-center/index.tsx b/frontend/src/components/templates/cost-center/index.tsx index e40699c..7f4b110 100644 --- a/frontend/src/components/templates/cost-center/index.tsx +++ b/frontend/src/components/templates/cost-center/index.tsx @@ -37,7 +37,7 @@ export const CostCenterTemplate: React.FC = ({ const [isSmallerThanMd] = useMediaQuery('(max-width: 768px)') return ( - +