[frontend/components] Update notification styling
This commit is contained in:
parent
4799706bf9
commit
6d57493188
2 changed files with 6 additions and 5 deletions
|
@ -29,15 +29,15 @@
|
|||
}
|
||||
else if (NotificationResponse is { Type: "follow", User: not null })
|
||||
{
|
||||
<span class="notification-text">@Loc["Followed you."]</span>
|
||||
<span class="notification-text">@Loc["followed you"]</span>
|
||||
}
|
||||
else if (NotificationResponse is { Type: "followRequestReceived" })
|
||||
{
|
||||
<span class="notification-text">@Loc["Requested to follow you."]</span>
|
||||
<span class="notification-text">@Loc["requested to follow you"]</span>
|
||||
}
|
||||
else if (NotificationResponse is { Type: "followRequestAccepted" })
|
||||
{
|
||||
<span class="notification-text">@Loc["Accepted your follow request."]</span>
|
||||
<span class="notification-text">@Loc["accepted your follow request"]</span>
|
||||
}
|
||||
else if (NotificationResponse is { Type: "mention" })
|
||||
{
|
||||
|
|
|
@ -33,9 +33,10 @@
|
|||
}
|
||||
|
||||
.display-name {
|
||||
white-space: wrap;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: clip;
|
||||
overflow: hidden;
|
||||
max-width: 15rem;
|
||||
}
|
||||
|
||||
.notification-body {
|
||||
|
|
Loading…
Add table
Reference in a new issue