add author-photo css class to author avatar
This commit is contained in:
@@ -371,13 +371,8 @@
|
||||
}
|
||||
|
||||
.author-photo {
|
||||
border-radius: 2px;
|
||||
display: inline-block;
|
||||
height: 32px;
|
||||
line-height: $line-height*2;
|
||||
margin-right: $line-height/4;
|
||||
vertical-align: middle;
|
||||
width: 32px;
|
||||
}
|
||||
|
||||
.author {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<h1><%= @debate.title %></h1>
|
||||
|
||||
<div class="debate-info">
|
||||
<%= avatar_image(@debate.author, size: 32) %>
|
||||
<%= avatar_image(@debate.author, size: 32, class: 'author-photo') %>
|
||||
<span class="author">
|
||||
<%= @debate.author.name %>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user