a fork of iceshrimp.net but a tweaked frontend to my personal liking. waow
fediverse social-media social iceshrimp fedi
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

[frontend/components] Fix extraneous whitespace above quote content

+26 -20
+22 -20
Iceshrimp.Frontend/Components/Note/NoteComponent.razor
··· 8 8 @inject ILogger<NoteComponent> Logger; 9 9 10 10 <CascadingValue Value="Note"> 11 - <div class="note-header"> 12 - <NoteUserInfo User="@Note.User" Indented="Indented"/> 13 - <NoteMetadata 14 - Visibility="@Note.Visibility" 15 - InstanceName="@Note.User.InstanceName" 16 - CreatedAt="DateTime.Parse(Note.CreatedAt)"> 17 - </NoteMetadata> 11 + <div class="note-wrapper"> 12 + <div class="note-header"> 13 + <NoteUserInfo User="@Note.User" Indented="Indented"/> 14 + <NoteMetadata 15 + Visibility="@Note.Visibility" 16 + InstanceName="@Note.User.InstanceName" 17 + CreatedAt="DateTime.Parse(Note.CreatedAt)" 18 + /> 19 + </div> 20 + <NoteBody NoteBase="Note" Indented="Indented" ReplyInaccessible="ReplyInaccessible" Quote="Quote"/> 21 + @if (!AsQuote) 22 + { 23 + <NoteFooter 24 + Reactions="Note.Reactions" 25 + Likes="Note.Likes" 26 + IsLiked="Note.Liked" 27 + Renotes="Note.Renotes" 28 + Replies="Note.Replies" 29 + Indented="Indented" 30 + RenotePossible="@(Note.Visibility == NoteVisibility.Public || Note.Visibility == NoteVisibility.Home || Session.Current?.Id == Note.User.Id)" 31 + /> 32 + } 18 33 </div> 19 - <NoteBody NoteBase="Note" Indented="Indented" ReplyInaccessible="ReplyInaccessible" Quote="Quote"/> 20 - @if (!AsQuote) 21 - { 22 - <NoteFooter 23 - Reactions="Note.Reactions" 24 - Likes="Note.Likes" 25 - IsLiked="Note.Liked" 26 - Renotes="Note.Renotes" 27 - Replies="Note.Replies" 28 - Indented="Indented" 29 - RenotePossible= 30 - "@(Note.Visibility == NoteVisibility.Public || Note.Visibility == NoteVisibility.Home || Session.Current?.Id == Note.User.Id)"/> 31 - } 32 34 </CascadingValue> 33 35 34 36 @code {
+4
Iceshrimp.Frontend/Components/Note/NoteComponent.razor.css
··· 1 + .note-wrapper { 2 + display: flex; 3 + } 4 + 1 5 .note-header { 2 6 display: flex; 3 7 padding-bottom: 0.5em;