Remove some inline css and minor refactoring
This commit is contained in:
parent
207b6c6153
commit
e372b4eb95
2 changed files with 11 additions and 9 deletions
|
|
@ -633,15 +633,21 @@ select {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.conversation_participants img.avatar{
|
.conversation_participants img.avatar {
|
||||||
height:35px;
|
height:35px;
|
||||||
width:35px;
|
width:35px;
|
||||||
margin: 5px 0 5px 2px;
|
margin: 5px 0 5px 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.conversations img.avatar{
|
.conversations {
|
||||||
margin: 10px;
|
img.avatar {
|
||||||
float: left;
|
margin: 10px;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
|
.no-messages {
|
||||||
|
text-align: center;
|
||||||
|
margin-top: 40px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.unread_message_count {
|
.unread_message_count {
|
||||||
|
|
|
||||||
|
|
@ -20,11 +20,7 @@
|
||||||
= render partial: 'conversations/conversation', collection: @conversations,
|
= render partial: 'conversations/conversation', collection: @conversations,
|
||||||
locals: { authors: @authors, unread_counts: @unread_counts }
|
locals: { authors: @authors, unread_counts: @unread_counts }
|
||||||
- else
|
- else
|
||||||
%br
|
%div{ class: 'no-messages' }
|
||||||
%br
|
|
||||||
%br
|
|
||||||
%br
|
|
||||||
%div{ style: 'text-align:center;' }
|
|
||||||
%i
|
%i
|
||||||
= t('.no_messages')
|
= t('.no_messages')
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue