fix: small changes to font size on Advisories

This commit is contained in:
Ivana Andersson 2023-09-07 11:34:13 +03:00
parent 2b792ede65
commit 2cb83cb5a7
2 changed files with 6 additions and 6 deletions

View File

@ -15,8 +15,8 @@ const Advisories = () => {
return ( return (
<XStack <XStack
style={{ padding: '16px 32px', justifyContent: 'space-between' }} style={{ padding: '30px 33px', justifyContent: 'space-between' }}
height={'65vh'} minHeight={'65vh'}
width={'100%'} width={'100%'}
> >
<YStack space={'$2'}> <YStack space={'$2'}>
@ -33,7 +33,7 @@ const Advisories = () => {
space={'$2'} space={'$2'}
> >
<Text <Text
size={27} size={19}
weight={isSameTitle(title) && 'semibold'} weight={isSameTitle(title) && 'semibold'}
color={isSameTitle(title) ? 'blue' : ''} color={isSameTitle(title) ? 'blue' : ''}
> >

View File

@ -17,11 +17,11 @@ const AdvisoriesContent = ({ title, content }: AdvisoriesContentProps) => {
</Stack> </Stack>
<YStack space={'$4'}> <YStack space={'$4'}>
{content.map(row => ( {content.map(row => (
<Text key={row} size={19}> <Text key={row} size={15}>
{row} {row}
</Text> </Text>
))} ))}
<Text size={19}> <Text size={15}>
<Link <Link
to={'https://github.com/ethereum/consensus-specs'} to={'https://github.com/ethereum/consensus-specs'}
style={{ textDecorationLine: 'underline', color: '#484848' }} style={{ textDecorationLine: 'underline', color: '#484848' }}
@ -29,7 +29,7 @@ const AdvisoriesContent = ({ title, content }: AdvisoriesContentProps) => {
The Ethereum consensus layer specification The Ethereum consensus layer specification
</Link> </Link>
</Text> </Text>
<Text size={19} weight={'semibold'}> <Text size={15} weight={'semibold'}>
<Link <Link
to={'https://github.com/ethereum/consensus-specs'} to={'https://github.com/ethereum/consensus-specs'}
style={{ textDecorationLine: 'underline', color: '#2A4CF4', fontWeight: 'bold' }} style={{ textDecorationLine: 'underline', color: '#2A4CF4', fontWeight: 'bold' }}