Implement fromchat.ru/@username and fromchat.ru/?u=userId links, mentions

This commit is contained in:
2025-10-20 21:12:40 +03:00
Unverified
parent 818b7c1b46
commit 97f19ce52b
6 changed files with 252 additions and 30 deletions
+22
View File
@@ -375,3 +375,25 @@
justify-content: center;
}
}
// Mention link styling
.message-content {
.mention-link {
color: $color-dark-primary;
text-decoration: none;
font-weight: 500;
border-radius: 4px;
padding: 2px 4px;
transition: all 0.2s ease;
background-color: rgba(145, 206, 244, 0.1); // TODO adjust
&:hover {
background-color: rgba(145, 206, 244, 0.2); // TODO adjust
transform: translateY(-1px);
}
&:active {
transform: translateY(0);
}
}
}