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

View file

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