Skip to content

Commit 1d25db1

Browse files
authored
Merge pull request #1794 from CruGlobal/improve-pds-descs
No-Jira - Improve PDS Goal Calc dividers
2 parents 1be78b5 + 3f97b1b commit 1d25db1

4 files changed

Lines changed: 9 additions & 3 deletions

File tree

src/components/HrTools/PdsGoalCalculator/ReimbursableExpenses/ReimbursableExpensesStep.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export const ReimbursableExpensesStep: React.FC = () => {
2020
)}
2121
</Typography>
2222
</Box>
23+
<Divider sx={{ mx: -4, my: 4 }} />
2324
<MonthlyReimbursableSection />
2425
<Divider sx={{ mx: -4, my: 4 }} />
2526
<AnnualReimbursableSection />

src/components/HrTools/PdsGoalCalculator/Setup/SetupStep.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export const SetupStep: React.FC = () => {
134134
label={t('Goal Name')}
135135
/>
136136

137-
<Divider sx={{ my: 4, mx: -4 }} />
137+
<Divider sx={{ mx: -4, my: 4 }} />
138138

139139
<Box pb={4}>
140140
<Typography variant="h6">{t('Calculator Setup')}</Typography>
@@ -333,6 +333,7 @@ export const SetupStep: React.FC = () => {
333333
</Grid>
334334
</Grid>
335335
</Card>
336+
<Divider sx={{ mx: -4, my: 4 }} />
336337
</>
337338
);
338339
};

src/components/HrTools/PdsGoalCalculator/SummaryReport/SummaryReportStep.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { Box, Typography } from '@mui/material';
2+
import { Box, Divider, Typography } from '@mui/material';
33
import { useTranslation } from 'react-i18next';
44
import Loading from 'src/components/Loading';
55
import { useAccountListId } from 'src/hooks/useAccountListId';
@@ -32,7 +32,9 @@ export const SummaryReportStep: React.FC = () => {
3232
)}
3333
</Typography>
3434
</Box>
35+
<Divider sx={{ mx: -4, my: 4 }} />
3536
<PdsSummaryTable supportRaised={supportRaised} />
37+
<Divider sx={{ mx: -4, my: 4 }} />
3638
</>
3739
);
3840
};

src/components/HrTools/PdsGoalCalculator/SupportItem/SupportItemStep.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { Box, Typography } from '@mui/material';
2+
import { Box, Divider, Typography } from '@mui/material';
33
import { useTranslation } from 'react-i18next';
44
import { OtherSection } from './OtherSection';
55
import { SalarySection } from './SalarySection';
@@ -19,8 +19,10 @@ export const SupportItemStep: React.FC = () => {
1919
)}
2020
</Typography>
2121
</Box>
22+
<Divider sx={{ mx: -4, my: 4 }} />
2223
<SalarySection />
2324
<OtherSection />
25+
<Divider sx={{ mx: -4, my: 4 }} />
2426
</>
2527
);
2628
};

0 commit comments

Comments
 (0)