Make 'like' avatars smaller and circular

master
Kevin C. Coram 2019-12-31 09:17:43 -08:00
parent 6ada4898f9
commit 85e9db44e7
Signed by: kevin
GPG Key ID: 0342351B3D61AD35
2 changed files with 7 additions and 1 deletions

View File

@ -8,7 +8,7 @@
{{ if $likes }} {{ if $likes }}
<h4>Likes</h4> <h4>Likes</h4>
{{ range $i, $like := $likes }} {{ 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 }}
{{ end }} {{ end }}

View File

@ -51,3 +51,9 @@ img.profile.photo {
max-width: 60px; max-width: 60px;
padding: 0.5em; padding: 0.5em;
} }
img.profile.photo.like {
max-width: 30px;
border-radius: 50%;
padding: 0.5em;
}