Skip to content

Commit

Permalink
add height
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianthedev committed Jul 6, 2024
1 parent 124bd6e commit 145524c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/.vitepress/theme/components/Image.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const checkParentWidth = () => {
</script>

<template>
<div class="aspect-ratio-box" :width="width" :style="style" ref="parent">
<div class="aspect-ratio-box" :width="width" :height="height" :style="style" ref="parent">
<img :src="src" :alt="alt" loading="lazy" class="aspect-ratio-box-inside">
</div>
</template>

0 comments on commit 145524c

Please sign in to comment.