From ec4c49082edb5f4941bd4e129900628c6b30101e Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Thu, 5 Sep 2024 11:39:59 +0200 Subject: [PATCH] Change design of unread conversations in web UI (#31763) --- .../components/conversation.jsx | 2 +- .../styles/mastodon/components.scss | 19 ++----------------- 2 files changed, 3 insertions(+), 18 deletions(-) diff --git a/app/javascript/mastodon/features/direct_timeline/components/conversation.jsx b/app/javascript/mastodon/features/direct_timeline/components/conversation.jsx index 6588c8b763..0d154db1e1 100644 --- a/app/javascript/mastodon/features/direct_timeline/components/conversation.jsx +++ b/app/javascript/mastodon/features/direct_timeline/components/conversation.jsx @@ -170,7 +170,7 @@ export const Conversation = ({ conversation, scrollKey, onMoveUp, onMoveDown }) return ( -
+
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index c1e5075702..d892c008bc 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -8522,22 +8522,6 @@ noscript { word-break: break-word; } } - - &--unread { - background: lighten($ui-base-color, 2%); - - &:focus { - background: lighten($ui-base-color, 4%); - } - - .conversation__content__info { - font-weight: 700; - } - - .conversation__content__relative-time { - color: $primary-text-color; - } - } } .announcements { @@ -8732,7 +8716,8 @@ noscript { } .notification, -.status__wrapper { +.status__wrapper, +.conversation { position: relative; &.unread {