Compare commits

..

2 Commits

Author SHA1 Message Date
b2a4887e23 Merge pull request 'Enhance hover effect for time display and avatar visibility' (#38) from BordedDev/snek:feat/show-time-reply-hover into main
Reviewed-on: #38
Reviewed-by: retoor <retoor@noreply@molodetz.nl>
2025-05-21 23:36:25 +02:00
BordedDev
9f577875f2
Enhance hover effect for time display and avatar visibility 2025-05-21 22:30:15 +02:00

View File

@ -275,13 +275,18 @@ input[type="text"], .chat-input textarea {
}
.avatar {
opacity: 0;
max-height: 0;
overflow: hidden;
}
.author, .time {
.author {
display: none;
}
&:not(:hover, :focus-within, :active) .time {
opacity: 0;
}
}
.message.switch-user {
@ -293,6 +298,7 @@ input[type="text"], .chat-input textarea {
.avatar {
user-select: none;
opacity: 1;
max-height: unset;
}
.author {