diff options
author | Eric Bailey <git@esb.lol> | 2023-12-11 17:34:25 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-11 15:34:25 -0800 |
commit | fc85901a46af3a37ca3c15ef4d78643a40ddc18c (patch) | |
tree | fe0596e854b45a81d676e4271a5fa1cd40177085 /src/view/com/util/text | |
parent | bae63f9bf0dbc40dd7ea99fde714e92b9fc83dc3 (diff) | |
download | voidsky-fc85901a46af3a37ca3c15ef4d78643a40ddc18c.tar.zst |
Fix links in profiles (#2178)
* Resolve links in profile bios * Improve solution * On mobile, dont disable pointer events on the bio richtext --------- Co-authored-by: Paul Frazee <pfrazee@gmail.com>
Diffstat (limited to 'src/view/com/util/text')
-rw-r--r-- | src/view/com/util/text/RichText.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/util/text/RichText.tsx b/src/view/com/util/text/RichText.tsx index b414baed9..99062e848 100644 --- a/src/view/com/util/text/RichText.tsx +++ b/src/view/com/util/text/RichText.tsx @@ -77,7 +77,7 @@ export function RichText({ type={type} text={segment.text} href={`/profile/${mention.did}`} - style={[style, lineHeightStyle, pal.link]} + style={[style, lineHeightStyle, pal.link, {pointerEvents: 'auto'}]} dataSet={WORD_WRAP} />, ) @@ -88,7 +88,7 @@ export function RichText({ type={type} text={toShortUrl(segment.text)} href={link.uri} - style={[style, lineHeightStyle, pal.link]} + style={[style, lineHeightStyle, pal.link, {pointerEvents: 'auto'}]} dataSet={WORD_WRAP} warnOnMismatchingLabel />, |