From 221c4d9c5bf6edb397005b18149a011bd1cd9feb Mon Sep 17 00:00:00 2001 From: DS Boyce <260543580+ds-boyce@users.noreply.github.com> Date: Fri, 14 Aug 2026 12:58:55 -0700 Subject: [PATCH] Fix size of post numbers with emoji-only posts (#11471) --- .../PostThread/components/ThreadItemPostNumber.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/screens/PostThread/components/ThreadItemPostNumber.tsx b/src/screens/PostThread/components/ThreadItemPostNumber.tsx index 7d55adf50b..04db513a2b 100644 --- a/src/screens/PostThread/components/ThreadItemPostNumber.tsx +++ b/src/screens/PostThread/components/ThreadItemPostNumber.tsx @@ -60,7 +60,13 @@ export function ThreadItemPostNumber({ inline ? platform({ native: {transform: [{translateY: POST_NUMBER_INLINE_OFFSET}]}, - web: {top: -2, marginBottom: -2}, + web: { + top: -2, + marginBottom: -2, + // Inline views inherit the surrounding line height on web. Keep + // the badge at its usual size when emoji-only text enlarges it. + lineHeight: a.text_xs.fontSize * a.leading_normal.lineHeight, + }, }) : {top: -2, marginBottom: -2}, ]}>