Skip to content

Commit

Permalink
🔧 BasicImage
Browse files Browse the repository at this point in the history
  • Loading branch information
roiLeo committed May 3, 2023
1 parent 4cbcee2 commit 6f1458f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions components/shared/view/BasicImage.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<template>
<figure class="b-image-wrapper is-1by1">
<figure
class="b-image-wrapper image is-1by1"
:style="{ 'padding-top': '100%' }"
:class="customClass">
<transition name="fade">
<img
v-if="src"
:src="src || placeholder"
:alt="alt"
:class="['has-ratio', { 'is-rounded': rounded }]"
Expand Down

0 comments on commit 6f1458f

Please sign in to comment.