[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.Frontend.Core.Services
|
||||||
@using Iceshrimp.Shared.Schemas.Web
|
@using Iceshrimp.Shared.Schemas.Web
|
||||||
|
@using Iceshrimp.Assets.PhosphorIcons
|
||||||
@inject ApiService ApiService
|
@inject ApiService ApiService
|
||||||
@inject NavigationManager NavigationManager
|
@inject NavigationManager NavigationManager
|
||||||
@inject ComposeService ComposeService
|
@inject ComposeService ComposeService
|
||||||
|
@ -10,7 +11,7 @@
|
||||||
<div class="renote">
|
<div class="renote">
|
||||||
<div class="renote-info">
|
<div class="renote-info">
|
||||||
<span class="user">
|
<span class="user">
|
||||||
Boosted by
|
<Icon Name="Icons.Repeat" /> Boosted by
|
||||||
@if (NoteResponse.User.DisplayName != null)
|
@if (NoteResponse.User.DisplayName != null)
|
||||||
{
|
{
|
||||||
@NoteResponse.User.DisplayName
|
@NoteResponse.User.DisplayName
|
||||||
|
|
|
@ -6,3 +6,8 @@
|
||||||
.metadata {
|
.metadata {
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.user {
|
||||||
|
color: var(--notice-color);
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue