From 9e66c1184ff5e6228a40c75c20ecd00b9f550208 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Thu, 22 Feb 2024 01:32:52 +0200 Subject: [PATCH] fix notifications links --- src/components/mention_link/mention_link.scss | 1 - .../notifications/notifications.scss | 24 +++++++++++++++---- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/src/components/mention_link/mention_link.scss b/src/components/mention_link/mention_link.scss index 69e9fed150..1b242bdf60 100644 --- a/src/components/mention_link/mention_link.scss +++ b/src/components/mention_link/mention_link.scss @@ -4,7 +4,6 @@ position: relative; white-space: normal; display: inline; - color: var(--link); word-break: normal; & .new, diff --git a/src/components/notifications/notifications.scss b/src/components/notifications/notifications.scss index 708d111b8d..1acccb8d8a 100644 --- a/src/components/notifications/notifications.scss +++ b/src/components/notifications/notifications.scss @@ -34,6 +34,11 @@ .notification { box-sizing: border-box; + /* TODO cleanup this */ + .Status { + flex: 1; + } + &:hover .animated.Avatar { canvas { display: none; @@ -55,6 +60,20 @@ padding: 0.6em; min-width: 0; + .RichContent { + a { + --link: var(--linkFaint); + } + + .greentext { + --funtextGreentext: var(--funtextGreentextFaint); + } + + .cyantext { + --funtextCyantext: var(--funtextCyantextFaint); + } + } + .avatar-container { width: 32px; height: 32px; @@ -89,11 +108,6 @@ } } - /* TODO cleanup this */ - .Status { - flex: 1; - } - time { white-space: nowrap; }