Add elipsis for long usernames
This commit is contained in:
parent
1f99887e4d
commit
2d53c9a239
|
@ -60,3 +60,9 @@
|
|||
gap: 6px;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.comment__user__username {
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
}
|
|
@ -2,7 +2,7 @@
|
|||
<div class="comment__user">
|
||||
<img src="{{this.User.Avatar}}" class="pfp" width="24" height="24" loading="lazy">
|
||||
<!--<a href="/user/{{this.User.Username}}">-->
|
||||
<p><b>{{this.User.Username}}</b></p>
|
||||
<p class="comment__user__username"><b>{{this.User.Username}}</b></p>
|
||||
<!--</a>-->
|
||||
</div>
|
||||
<div>
|
||||
|
|
Loading…
Reference in New Issue