diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-08-16 10:10:39 -0700 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-08-16 10:10:39 -0700 |
commit | 5379561934f6249fbbecf33ed0cd10d2d30128f0 (patch) | |
tree | 77c7e3c31c0350aeb8609f6bd9f56ccd47987843 | |
parent | 79a68197697bfbeb2b942c6733d83a17dfc3e09b (diff) | |
download | voidsky-5379561934f6249fbbecf33ed0cd10d2d30128f0.tar.zst |
Tune link card font sizes on desktop
-rw-r--r-- | src/view/com/util/post-embeds/ExternalLinkEmbed.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/util/post-embeds/ExternalLinkEmbed.tsx b/src/view/com/util/post-embeds/ExternalLinkEmbed.tsx index 6dd93c19d..81f1ca560 100644 --- a/src/view/com/util/post-embeds/ExternalLinkEmbed.tsx +++ b/src/view/com/util/post-embeds/ExternalLinkEmbed.tsx @@ -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} |