Remove bulma placeholders

Close #391

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2020-10-10 17:13:59 +02:00
parent 82c1e4edae
commit c02f8d5169
2 changed files with 6 additions and 4 deletions

View File

@ -3,9 +3,10 @@
<div class="card-content"> <div class="card-content">
<div class="media"> <div class="media">
<div class="media-left"> <div class="media-left">
<figure class="image is-48x48"> <figure class="image is-48x48" v-if="group.avatar">
<img src="https://bulma.io/images/placeholders/96x96.png" alt="Placeholder image" /> <img class="is-rounded" :src="group.avatar.url" alt="" />
</figure> </figure>
<b-icon v-else size="is-large" icon="account-group" />
</div> </div>
<div class="media-content"> <div class="media-content">
<router-link <router-link

View File

@ -8,9 +8,10 @@
</div> </div>
<div class="media subfield"> <div class="media subfield">
<div class="media-left"> <div class="media-left">
<figure class="image is-48x48"> <figure class="image is-48x48" v-if="member.parent.avatar">
<img src="https://bulma.io/images/placeholders/96x96.png" alt="Placeholder image" /> <img class="is-rounded" :src="member.parent.avatar.url" alt="" />
</figure> </figure>
<b-icon v-else size="is-large" icon="account-group" />
</div> </div>
<div class="media-content"> <div class="media-content">
<div class="level"> <div class="level">