Tune link card font sizes on desktop
This commit is contained in:
parent
79a6819769
commit
5379561934
1 changed files with 2 additions and 2 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue