mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-24 10:15:37 +03:00
Fix clash of styles
.status got overriden 😂 (maybe I should scope the CSS or something)
This commit is contained in:
parent
f6e3c979af
commit
3589438556
2 changed files with 5 additions and 5 deletions
|
@ -17,14 +17,14 @@
|
||||||
opacity: 0.75;
|
opacity: 0.75;
|
||||||
color: var(--text-insignificant-color);
|
color: var(--text-insignificant-color);
|
||||||
}
|
}
|
||||||
.notification-type.favourite {
|
.notification-type.notification-favourite {
|
||||||
color: var(--favourite-color);
|
color: var(--favourite-color);
|
||||||
}
|
}
|
||||||
.notification-type.reblog {
|
.notification-type.notification-reblog {
|
||||||
color: var(--reblog-color);
|
color: var(--reblog-color);
|
||||||
}
|
}
|
||||||
.notification-type.poll,
|
.notification-type.notification-poll,
|
||||||
.notification-type.mention {
|
.notification-type.notification-mention {
|
||||||
color: var(--link-color);
|
color: var(--link-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -61,7 +61,7 @@ function Notification({ notification }) {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div
|
<div
|
||||||
class={`notification-type ${type}`}
|
class={`notification-type notification-${type}`}
|
||||||
title={new Date(notification.createdAt).toLocaleString()}
|
title={new Date(notification.createdAt).toLocaleString()}
|
||||||
>
|
>
|
||||||
<Icon
|
<Icon
|
||||||
|
|
Loading…
Reference in a new issue