[frontend/components] Update notification styling

This commit is contained in:
Jeder 2024-10-24 22:17:34 +02:00 committed by Lilian
parent 4799706bf9
commit 6d57493188
No known key found for this signature in database
2 changed files with 6 additions and 5 deletions

View file

@ -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" })
{

View file

@ -33,9 +33,10 @@
}
.display-name {
white-space: wrap;
white-space: nowrap;
text-overflow: ellipsis;
overflow: clip;
overflow: hidden;
max-width: 15rem;
}
.notification-body {