Tune link card font sizes on desktop
parent
79a6819769
commit
5379561934
|
@ -35,14 +35,14 @@ export const ExternalLinkEmbed = ({
|
||||||
{toNiceDomain(link.uri)}
|
{toNiceDomain(link.uri)}
|
||||||
</Text>
|
</Text>
|
||||||
<Text
|
<Text
|
||||||
type={isDesktopWeb ? 'xl-bold' : 'lg-bold'}
|
type="lg-bold"
|
||||||
numberOfLines={isDesktopWeb ? 2 : 4}
|
numberOfLines={isDesktopWeb ? 2 : 4}
|
||||||
style={[pal.text]}>
|
style={[pal.text]}>
|
||||||
{link.title || link.uri}
|
{link.title || link.uri}
|
||||||
</Text>
|
</Text>
|
||||||
{link.description ? (
|
{link.description ? (
|
||||||
<Text
|
<Text
|
||||||
type={isDesktopWeb ? 'lg' : 'md'}
|
type="md"
|
||||||
numberOfLines={isDesktopWeb ? 2 : 4}
|
numberOfLines={isDesktopWeb ? 2 : 4}
|
||||||
style={[pal.text, styles.extDescription]}>
|
style={[pal.text, styles.extDescription]}>
|
||||||
{link.description}
|
{link.description}
|
||||||
|
|
Loading…
Reference in New Issue