Make 'like' avatars smaller and circular
parent
6ada4898f9
commit
85e9db44e7
|
@ -8,7 +8,7 @@
|
|||
{{ if $likes }}
|
||||
<h4>Likes</h4>
|
||||
{{ range $i, $like := $likes }}
|
||||
<a href="{{$like.url}}"><img src="{{ $like.author.photo}}" alt="{{ $like.author.name }}" class="profile photo"></a>
|
||||
<a href="{{$like.url}}"><img src="{{ $like.author.photo}}" alt="{{ $like.author.name }}" class="profile photo like"></a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
|
|
|
@ -51,3 +51,9 @@ img.profile.photo {
|
|||
max-width: 60px;
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
img.profile.photo.like {
|
||||
max-width: 30px;
|
||||
border-radius: 50%;
|
||||
padding: 0.5em;
|
||||
}
|
Loading…
Reference in New Issue