From 1644a7c35c5c6835e5d1fd6a32b50c469b7466bc Mon Sep 17 00:00:00 2001 From: pancakes Date: Tue, 4 Mar 2025 15:31:24 +1000 Subject: [PATCH] [frontend/components] Only show note body text if there is actual text in the body --- .../Components/Note/NoteBody.razor | 21 +++++++++++-------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/Iceshrimp.Frontend/Components/Note/NoteBody.razor b/Iceshrimp.Frontend/Components/Note/NoteBody.razor index 799bd9b6..74e09d9d 100644 --- a/Iceshrimp.Frontend/Components/Note/NoteBody.razor +++ b/Iceshrimp.Frontend/Components/Note/NoteBody.razor @@ -42,15 +42,18 @@
- - @if (ReplyInaccessible) - { - - - - } - - + @if (ReplyInaccessible || !string.IsNullOrWhiteSpace(NoteBase.Text)) + { + + @if (ReplyInaccessible) + { + + + + } + + + } @if (NoteBase.Poll != null) {