merge: fix: reply hover effect (!403)

View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/403

Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: dakkar <dakkar@thenautilus.net>
This commit is contained in:
Amelia Yukii 2024-02-04 13:48:07 +00:00
commit e3525b82f9
1 changed files with 3 additions and 3 deletions

View File

@ -476,7 +476,7 @@ if (props.detail) {
position: relative; position: relative;
display: flex; display: flex;
:is(.detailed, .replyRoot) &::after { :is(.detailed, .isReply) &::after {
content: ""; content: "";
position: absolute; position: absolute;
top: -12px; top: -12px;
@ -490,8 +490,8 @@ if (props.detail) {
z-index: -1; z-index: -1;
} }
:is(.detailed, .replyRoot) &:hover::after, :is(.detailed, .isReply) &:hover::after,
:is(.detailed, .replyRoot) &:focus-within::after { :is(.detailed, .isReply) &:focus-within::after {
opacity: 1; opacity: 1;
} }
} }