diff --git a/.changeset/fix-emoji-display-name-color.md b/.changeset/fix-emoji-display-name-color.md new file mode 100644 index 00000000..667b20a2 --- /dev/null +++ b/.changeset/fix-emoji-display-name-color.md @@ -0,0 +1,5 @@ +--- +default: patch +--- + +Fix emoji color bleeding into adjacent text in read receipt display names on Safari/WebKit diff --git a/src/app/features/room/RoomViewFollowing.tsx b/src/app/features/room/RoomViewFollowing.tsx index c7285ace..6d9a60c6 100644 --- a/src/app/features/room/RoomViewFollowing.tsx +++ b/src/app/features/room/RoomViewFollowing.tsx @@ -89,56 +89,106 @@ export const RoomViewFollowing = as<'div', RoomViewFollowingProps>( {names.length === 1 && ( <> - {names[0]} - + {names[0]} + {' is following the conversation.'} )} {names.length === 2 && ( <> - {names[0]} - + {names[0]} + {' and '} - {names[1]} - + {names[1]} + {' are following the conversation.'} )} {names.length === 3 && ( <> - {names[0]} - + {names[0]} + {', '} - {names[1]} - + {names[1]} + {' and '} - {names[2]} - + {names[2]} + {' are following the conversation.'} )} {names.length > 3 && ( <> - {names[0]} - + {names[0]} + {', '} - {names[1]} - + {names[1]} + {', '} - {names[2]} - + {names[2]} + {' and '} - {names.length - 3} others - + {names.length - 3} others + {' are following the conversation.'}