From 36a74bb4e53920c933192fc350d62b9fc56c5303 Mon Sep 17 00:00:00 2001 From: ari melody Date: Mon, 1 Jul 2024 03:46:26 +0100 Subject: [PATCH] fix post click regions and boost context emoji sizes --- src/lib/ui/post/BoostContext.svelte | 11 ++++++++++- src/lib/ui/post/PostHeader.svelte | 12 ++++++------ 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/src/lib/ui/post/BoostContext.svelte b/src/lib/ui/post/BoostContext.svelte index b9c8b6b..2194ef2 100644 --- a/src/lib/ui/post/BoostContext.svelte +++ b/src/lib/ui/post/BoostContext.svelte @@ -10,7 +10,10 @@
🔁 - {@html parseEmojis(post.user.rich_name)} boosted this post. + + {@html parseEmojis(post.user.rich_name)} + + boosted this post. @@ -48,6 +51,12 @@ text-decoration: underline; } + .post-context .name :global(.emoji) { + position: relative; + top: .2em; + height: 1.2em; + } + .post-context-time { margin-left: auto; } diff --git a/src/lib/ui/post/PostHeader.svelte b/src/lib/ui/post/PostHeader.svelte index 48aeda0..93b0949 100644 --- a/src/lib/ui/post/PostHeader.svelte +++ b/src/lib/ui/post/PostHeader.svelte @@ -8,16 +8,16 @@ let time_string = post.created_at.toLocaleString(); -