1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

fix: fix title sizes (#8420)

Makes both headers of the same setup complete section the same size.
Also normalize casing
This commit is contained in:
Thomas Heartman 2024-10-10 13:50:30 +02:00 committed by GitHub
parent 21887aa3b9
commit f0dc7fa0ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 14 deletions

View File

@ -57,7 +57,7 @@ export const LatestProjectEvents: FC<{
}} }}
component='h4' component='h4'
> >
Latest Events Latest events
</Typography> </Typography>
</TitleContainer> </TitleContainer>
<Events> <Events>

View File

@ -11,14 +11,6 @@ const TitleContainer = styled('div')(({ theme }) => ({
alignItems: 'center', alignItems: 'center',
})); }));
const Health = styled('div')(({ theme }) => ({
display: 'flex',
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'center',
gap: theme.spacing(3),
}));
const ActionBox = styled('article')(({ theme }) => ({ const ActionBox = styled('article')(({ theme }) => ({
padding: theme.spacing(0, 2), padding: theme.spacing(0, 2),
display: 'flex', display: 'flex',
@ -30,10 +22,6 @@ const PercentageScore = styled('span')(({ theme }) => ({
fontWeight: theme.typography.fontWeightBold, fontWeight: theme.typography.fontWeightBold,
})); }));
const ProjectInsight = styled('h3')(({ theme }) => ({
margin: 0,
}));
const ConnectedSdkProject: FC<{ project: string }> = ({ project }) => { const ConnectedSdkProject: FC<{ project: string }> = ({ project }) => {
return ( return (
<> <>
@ -160,7 +148,9 @@ export const ProjectSetupComplete: FC<{
<ActionBox> <ActionBox>
<TitleContainer> <TitleContainer>
<Lightbulb color='primary' /> <Lightbulb color='primary' />
<ProjectInsight>Project health</ProjectInsight> <Typography sx={{ fontWeight: 'bold' }} component='h4'>
Project health
</Typography>
</TitleContainer> </TitleContainer>
<ProjectHealthMessage <ProjectHealthMessage