mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Always show chat name or email
This commit is contained in:
parent
ae3175c805
commit
3aad31069c
2 changed files with 4 additions and 1 deletions
|
@ -31,7 +31,9 @@ aside.chat(
|
|||
span.avatar
|
||||
img(ng-src="{{message.user.gravatar_url}}?d=mm&s=50")
|
||||
div.message-wrapper
|
||||
.name(ng-if="message.user.id != user.id") {{ message.user.first_name }}
|
||||
.name(ng-if="message.user.id != user.id")
|
||||
span(ng-if="message.user.first_name") {{ message.user.first_name }}
|
||||
span(ng-if="!message.user.first_name") {{ message.user.email }}
|
||||
.message(
|
||||
ng-style="{\
|
||||
'border-color': 'hsl({{ hue(message.user) }}, 70%, 70%)',\
|
||||
|
|
|
@ -51,6 +51,7 @@
|
|||
font-size: 12px;
|
||||
color: @gray-light;
|
||||
margin-bottom: 4px;
|
||||
min-height: 16px;
|
||||
}
|
||||
.message {
|
||||
padding: @line-height-computed / 2;
|
||||
|
|
Loading…
Reference in a new issue