mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-31 17:39:08 +01:00
Use appropriate image sizes and lazy loading in inbox entry
This commit is contained in:
parent
99b523bf9c
commit
66c80d2add
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
.media
|
.media
|
||||||
- unless i.question.author_is_anonymous
|
- unless i.question.author_is_anonymous
|
||||||
%a.pull-left{ href: user_path(i.question.user) }
|
%a.pull-left{ href: user_path(i.question.user) }
|
||||||
%img.answerbox__question-user-avatar.avatar-md{ src: i.question.user.profile_picture.url(:medium) }
|
%img.answerbox__question-user-avatar.avatar-md{ src: i.question.user.profile_picture.url(:small), loading: :lazy }
|
||||||
.media-body
|
.media-body
|
||||||
%h6.text-muted.media-heading.answerbox__question-user
|
%h6.text-muted.media-heading.answerbox__question-user
|
||||||
- if i.question.author_is_anonymous
|
- if i.question.author_is_anonymous
|
||||||
|
|
Loading…
Reference in a new issue