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

@ -639,10 +639,16 @@ select {
margin: 5px 0 5px 2px;
}
.conversations img.avatar{
.conversations {
img.avatar {
margin: 10px;
float: left;
}
.no-messages {
text-align: center;
margin-top: 40px;
}
}
.unread_message_count {
border-radius: 2px 2px 2px 2px;

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