mirror of
https://codeberg.org/davrot/forgejo.git
synced 2025-07-05 10:00:02 +02:00
fix(ui): add missing lazy load attribute to images (#8246)
closes #8076 Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8246 Reviewed-by: Beowulf <beowulf@beocode.eu> Co-authored-by: Bente Groh <mail@bentegroh.de> Co-committed-by: Bente Groh <mail@bentegroh.de>
This commit is contained in:
parent
2bca029f6f
commit
7ab27a7a7f
10 changed files with 67 additions and 59 deletions
|
@ -391,7 +391,7 @@ export default {
|
|||
<div class="ui top attached header tw-flex tw-flex-1">
|
||||
<b class="ui right">#{{ index + 1 }}</b>
|
||||
<a :href="contributor.home_link">
|
||||
<img class="ui avatar tw-align-middle" height="40" width="40" :src="contributor.avatar_link" alt="">
|
||||
<img class="ui avatar tw-align-middle" height="40" width="40" :src="contributor.avatar_link" alt="" loading="lazy">
|
||||
</a>
|
||||
<div class="tw-ml-2">
|
||||
<a v-if="contributor.home_link !== ''" :href="contributor.home_link"><h4>{{ contributor.name }}</h4></a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue