Skip to content

Commit

Permalink
fix: update the results styles to match
Browse files Browse the repository at this point in the history
  • Loading branch information
HRemonen committed Sep 29, 2023
1 parent d984283 commit 36780cd
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 6 deletions.
22 changes: 19 additions & 3 deletions src/client/components/IpAssessment/IpAssessmentResults.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,16 @@ const IpAssessmentResults = () => {
</Box>
)}

<Box ref={refCallback} sx={resultStyles.resultSection}>
<Typography variant='h6' sx={cardStyles.heading} component='div'>
<Box ref={refCallback} style={{ marginLeft: '2rem', marginTop: '4rem' }}>
<Typography
variant='h6'
style={{
fontWeight: '200',
textAlign: 'left',
marginBottom: '1rem',
}}
component='div'
>
{t('recommendedAction:title')}
</Typography>
<CommonResult
Expand All @@ -111,7 +119,15 @@ const IpAssessmentResults = () => {
/>
<RecommendedAction action={recommendedAction} />

<Typography variant='h6' sx={cardStyles.heading} component='div'>
<Typography
variant='h6'
style={{
fontWeight: '200',
textAlign: 'left',
marginBottom: '1rem',
}}
component='div'
>
{t('results:subtitle')}
</Typography>
<IpAssessmentResultElements
Expand Down
22 changes: 19 additions & 3 deletions src/client/components/Licences/LicenceResults.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,16 @@ const LicenceResults = () => {
</Box>
)}

<Box ref={refCallback} sx={resultStyles.resultSection}>
<Typography variant='h6' sx={cardStyles.heading} component='div'>
<Box ref={refCallback} style={{ marginLeft: '2rem', marginTop: '4rem' }}>
<Typography
variant='h6'
style={{
fontWeight: '200',
textAlign: 'left',
marginBottom: '1rem',
}}
component='div'
>
{t('recommendedAction:title')}
</Typography>
<CommonResult
Expand All @@ -111,7 +119,15 @@ const LicenceResults = () => {
/>
<RecommendedAction action={recommendedAction} />

<Typography variant='h6' sx={cardStyles.heading} component='div'>
<Typography
variant='h6'
style={{
fontWeight: '200',
textAlign: 'left',
marginBottom: '1rem',
}}
component='div'
>
{t('results:subtitle')}
</Typography>
<DefaultResultElements
Expand Down

0 comments on commit 36780cd

Please sign in to comment.