Tune link card font sizes on desktop

zio/stable
Paul Frazee 2023-08-16 10:10:39 -07:00
parent 79a6819769
commit 5379561934
1 changed files with 2 additions and 2 deletions

View File

@ -35,14 +35,14 @@ export const ExternalLinkEmbed = ({
{toNiceDomain(link.uri)}
</Text>
<Text
type={isDesktopWeb ? 'xl-bold' : 'lg-bold'}
type="lg-bold"
numberOfLines={isDesktopWeb ? 2 : 4}
style={[pal.text]}>
{link.title || link.uri}
</Text>
{link.description ? (
<Text
type={isDesktopWeb ? 'lg' : 'md'}
type="md"
numberOfLines={isDesktopWeb ? 2 : 4}
style={[pal.text, styles.extDescription]}>
{link.description}