[frontend/components] Style reaction notification with InlineEmoji params
This commit is contained in:
parent
87801b8bcf
commit
7b291fa142
2 changed files with 1 additions and 21 deletions
|
@ -32,7 +32,7 @@
|
|||
break;
|
||||
case { Note: not null, Reaction: not null, Type: "reaction" }:
|
||||
<span class="notification-reaction" title="@NotificationResponse.Reaction.Name">
|
||||
<InlineEmoji Name="@NotificationResponse.Reaction.Name" Url="@NotificationResponse.Reaction.Url"/>
|
||||
<InlineEmoji Name="@NotificationResponse.Reaction.Name" Url="@NotificationResponse.Reaction.Url" Hover="true" Size="1.25em"/>
|
||||
</span>
|
||||
<span class="notification-text">@Loc["reacted to your note"]</span>
|
||||
break;
|
||||
|
|
|
@ -39,26 +39,6 @@
|
|||
filter: drop-shadow(0 0 0.2em rgba(0, 0, 0, 0.7));
|
||||
}
|
||||
|
||||
::deep {
|
||||
.notification-reaction .custom-reaction {
|
||||
font-size: 1.25em;
|
||||
transition-duration: 250ms;
|
||||
}
|
||||
}
|
||||
|
||||
::deep {
|
||||
.notification-reaction .custom-reaction:hover {
|
||||
transform: scale(1.5);
|
||||
z-index: +1;
|
||||
}
|
||||
}
|
||||
|
||||
::deep {
|
||||
.notification-reaction .unicode-reaction {
|
||||
font-size: 1.25em;
|
||||
}
|
||||
}
|
||||
|
||||
.notification-text {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue