Use mentions in threads.

This commit is contained in:
Dominik Picheta 2018-05-08 17:12:42 +01:00
commit 3a44489fcc
2 changed files with 21 additions and 1 deletions

View file

@ -248,4 +248,20 @@ blockquote {
.quote-link {
float: right;
}
.user-mention {
@extend .chip;
vertical-align: initial;
font-weight: bold;
display: inline-block;
font-size: 85%;
height: inherit;
padding: 0.08rem 0.4rem;
background-color: darken($bg-color-dark, 5%);
img {
@extend .avatar;
@extend .avatar-sm;
}
}

View file

@ -159,7 +159,11 @@
Unix is a cancer.
</blockquote>
<p>We also want to be able to highlight user mentions:</p>
<p>Please let <a class="user-mention" href="#">@Araq</a> know that this forum is awesome.</p>
<p>Please let
<span class="user-mention">
@Araq
</span>
know that this forum is awesome.</p>
</div>
<div class="post-buttons">
<div class="like-button">