diff --git a/src/screens/VideoFeed/index.tsx b/src/screens/VideoFeed/index.tsx index ac93d72595..5190f1e910 100644 --- a/src/screens/VideoFeed/index.tsx +++ b/src/screens/VideoFeed/index.tsx @@ -2,6 +2,7 @@ import React, {useCallback, useMemo, useRef, useState} from 'react' import { LayoutAnimation, ListRenderItem, + Pressable, ScrollView, View, ViewToken, @@ -540,13 +541,7 @@ function Overlay({ screen: 'Profile', params: {name: post.author.did}, }} - style={[ - a.flex_1, - a.flex_row, - a.gap_md, - a.pb_sm, - a.align_center, - ]}> + style={[a.flex_1, a.flex_row, a.gap_md, a.align_center]}> {record?.text?.trim() && ( - - - + )} {record && ( @@ -867,15 +860,16 @@ function ExpandableRichTextView({ }} style={{height: Math.min(contentHeight, screenHeight * 0.5)}} contentContainerStyle={[ + a.py_sm, a.gap_xs, expanded ? [a.align_start] : a.flex_row, ]}> { if (!constrained && evt.nativeEvent.lines.length > 1) { setConstrained(true) @@ -883,14 +877,13 @@ function ExpandableRichTextView({ }} /> {constrained && ( - + onPress={() => setExpanded(prev => !prev)} + style={[a.absolute, a.inset_0]} + /> )} )