[frontend] Add icon to boosted notes
This commit is contained in:
parent
165a2a69e0
commit
b7ed190ff2
2 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
@using Iceshrimp.Frontend.Core.Services
|
||||
@using Iceshrimp.Shared.Schemas.Web
|
||||
@using Iceshrimp.Assets.PhosphorIcons
|
||||
@inject ApiService ApiService
|
||||
@inject NavigationManager NavigationManager
|
||||
@inject ComposeService ComposeService
|
||||
|
@ -10,7 +11,7 @@
|
|||
<div class="renote">
|
||||
<div class="renote-info">
|
||||
<span class="user">
|
||||
Boosted by
|
||||
<Icon Name="Icons.Repeat" /> Boosted by
|
||||
@if (NoteResponse.User.DisplayName != null)
|
||||
{
|
||||
@NoteResponse.User.DisplayName
|
||||
|
|
|
@ -5,4 +5,9 @@
|
|||
|
||||
.metadata {
|
||||
margin-left: auto;
|
||||
}
|
||||
|
||||
|
||||
.user {
|
||||
color: var(--notice-color);
|
||||
}
|
Loading…
Add table
Reference in a new issue