add title attr to text text links (#1228)
* add title attr to text text links
* Revert "add title attr to text text links"
This reverts commit c028cd184e.
* use css tooltips
* add to expanded post state
* handle theming
* add to bskyweb
This commit is contained in:
@@ -193,7 +193,8 @@ export const PostThreadItem = observer(function PostThreadItem({
|
||||
/>
|
||||
</View>
|
||||
<View style={styles.layoutContent}>
|
||||
<View style={[styles.meta, styles.metaExpandedLine1]}>
|
||||
<View
|
||||
style={[styles.meta, styles.metaExpandedLine1, {zIndex: 1}]}>
|
||||
<View style={[s.flexRow]}>
|
||||
<Link
|
||||
style={styles.metaItem}
|
||||
@@ -210,12 +211,16 @@ export const PostThreadItem = observer(function PostThreadItem({
|
||||
)}
|
||||
</Text>
|
||||
</Link>
|
||||
<Text type="md" style={[styles.metaItem, pal.textLight]}>
|
||||
·
|
||||
<TimeElapsed timestamp={item.post.indexedAt}>
|
||||
{({timeElapsed}) => <>{timeElapsed}</>}
|
||||
</TimeElapsed>
|
||||
</Text>
|
||||
<TimeElapsed timestamp={item.post.indexedAt}>
|
||||
{({timeElapsed}) => (
|
||||
<Text
|
||||
type="md"
|
||||
style={[styles.metaItem, pal.textLight]}
|
||||
title={niceDate(item.post.indexedAt)}>
|
||||
· {timeElapsed}
|
||||
</Text>
|
||||
)}
|
||||
</TimeElapsed>
|
||||
</View>
|
||||
</View>
|
||||
<View style={styles.meta}>
|
||||
|
||||
Reference in New Issue
Block a user