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;
|
||||
width:35px;
|
||||
margin: 5px 0 5px 2px;
|
||||
}
|
||||
|
||||
.conversations img.avatar{
|
||||
margin: 10px;
|
||||
float: left;
|
||||
.conversations {
|
||||
img.avatar {
|
||||
margin: 10px;
|
||||
float: left;
|
||||
}
|
||||
.no-messages {
|
||||
text-align: center;
|
||||
margin-top: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
.unread_message_count {
|
||||
|
|
|
|||
|
|
@ -20,11 +20,7 @@
|
|||
= render partial: 'conversations/conversation', collection: @conversations,
|
||||
locals: { authors: @authors, unread_counts: @unread_counts }
|
||||
- else
|
||||
%br
|
||||
%br
|
||||
%br
|
||||
%br
|
||||
%div{ style: 'text-align:center;' }
|
||||
%div{ class: 'no-messages' }
|
||||
%i
|
||||
= t('.no_messages')
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue