Fix .status conflicting with .notification.status

Naming is hard
This commit is contained in:
Lim Chee Aun 2023-03-20 23:07:21 +08:00
parent a792f494bf
commit ed1d475a12
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@
gap: 12px;
animation: appear 0.2s ease-out;
}
.notification.mention {
.notification.notification-mention {
margin-top: 16px;
}
.only-mentions .notification:not(.mention),

View file

@ -318,7 +318,7 @@ function Notification({ notification, instance }) {
: contentText[type];
return (
<div class={`notification ${type}`} tabIndex="0">
<div class={`notification notification-${type}`} tabIndex="0">
<div
class={`notification-type notification-${type}`}
title={new Date(notification.createdAt).toLocaleString()}