Fix pointer

zio/stable
Paul Frazee 2023-09-28 10:32:34 -07:00
parent 1aa1b69a94
commit d57c8f7bca
1 changed files with 7 additions and 1 deletions

View File

@ -241,7 +241,9 @@ export const FeedItem = observer(function FeedItemImpl({
<Text style={[pal.text]}> {action}</Text>
<TimeElapsed timestamp={item.indexedAt}>
{({timeElapsed}) => (
<Text style={[pal.textLight]} title={niceDate(item.indexedAt)}>
<Text
style={[pal.textLight, styles.pointer]}
title={niceDate(item.indexedAt)}>
{' ' + timeElapsed}
</Text>
)}
@ -448,6 +450,10 @@ const styles = StyleSheet.create({
overflowHidden: {
overflow: 'hidden',
},
pointer: {
// @ts-ignore web only
cursor: 'pointer',
},
outer: {
padding: 10,