Skip to content

Commit

Permalink
fix(feature): aspect ratio from width and height props
Browse files Browse the repository at this point in the history
  • Loading branch information
shadow81627 committed Apr 30, 2022
1 parent 09536fc commit d1cdbec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/feature.vue
Expand Up @@ -8,7 +8,7 @@
:srcset="_srcset.srcset"
:sizes="_srcset.size"
cover
:aspect-ratio="16 / 9"
:aspect-ratio="imageWidth / imageHeight"
:style="`background-color: ${_imageBackgroundColor}`"
></v-img>
<v-card-title>
Expand Down

0 comments on commit d1cdbec

Please sign in to comment.