Remove some inline css and minor refactoring

This commit is contained in:
theworldbright 2015-06-01 20:01:41 +09:00 committed by Jonne Haß
parent 207b6c6153
commit e372b4eb95
2 changed files with 11 additions and 9 deletions

View file

@ -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 {

View file

@ -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')