From 0a866bad7569302e9dd5fddd9aa46ae3b72a1078 Mon Sep 17 00:00:00 2001 From: pancakes Date: Mon, 2 Dec 2024 15:27:13 +1000 Subject: [PATCH] [frontend/components] Display NoteReactionDetails reaction count the same as in note reactions --- Iceshrimp.Frontend/Components/NoteReactionDetails.razor | 3 ++- Iceshrimp.Frontend/Components/NoteReactionDetails.razor.css | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Iceshrimp.Frontend/Components/NoteReactionDetails.razor b/Iceshrimp.Frontend/Components/NoteReactionDetails.razor index c7cb4c19..746aafae 100644 --- a/Iceshrimp.Frontend/Components/NoteReactionDetails.razor +++ b/Iceshrimp.Frontend/Components/NoteReactionDetails.razor @@ -6,7 +6,8 @@ { - <InlineEmoji Reaction="el"/> (@el.Count) + <InlineEmoji Reaction="el"/> + <span class="reaction-count">@el.Count</span> diff --git a/Iceshrimp.Frontend/Components/NoteReactionDetails.razor.css b/Iceshrimp.Frontend/Components/NoteReactionDetails.razor.css index e69de29b..575114ac 100644 --- a/Iceshrimp.Frontend/Components/NoteReactionDetails.razor.css +++ b/Iceshrimp.Frontend/Components/NoteReactionDetails.razor.css @@ -0,0 +1,3 @@ +.reaction-count { + margin-left: 0.5em; +} \ No newline at end of file