about summary refs log tree commit diff
path: root/src/view/com/util/PostMeta.tsx
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2023-08-22 13:04:17 -0500
committerGitHub <noreply@github.com>2023-08-22 11:04:17 -0700
commit548ec6c82d114f96c431a4e0f162e8360bfd22f4 (patch)
tree6089f1d3c87692ea1cb146d12a7c7506ae85362f /src/view/com/util/PostMeta.tsx
parent16b265a86164e682486a3d8fa51bfa18d51bb945 (diff)
downloadvoidsky-548ec6c82d114f96c431a4e0f162e8360bfd22f4.tar.zst
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 c028cd184efd3b2788d8f46134eecf521e5d7b07.

* use css tooltips

* add to expanded post state

* handle theming

* add to bskyweb
Diffstat (limited to 'src/view/com/util/PostMeta.tsx')
-rw-r--r--src/view/com/util/PostMeta.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/view/com/util/PostMeta.tsx b/src/view/com/util/PostMeta.tsx
index bf21ff0d1..b0ad01754 100644
--- a/src/view/com/util/PostMeta.tsx
+++ b/src/view/com/util/PostMeta.tsx
@@ -79,6 +79,7 @@ export const PostMeta = observer(function (opts: PostMetaOpts) {
             lineHeight={1.2}
             text={timeElapsed}
             accessibilityLabel={niceDate(opts.timestamp)}
+            title={niceDate(opts.timestamp)}
             accessibilityHint=""
             href={opts.postHref}
           />
@@ -94,6 +95,7 @@ const styles = StyleSheet.create({
     alignItems: isAndroid ? 'center' : 'baseline',
     paddingBottom: 2,
     gap: 4,
+    zIndex: 1,
   },
   avatar: {
     alignSelf: 'center',