fix: aspect ratio height
This commit is contained in:
parent
56f473ccc1
commit
91d6c400ea
|
|
@ -7,7 +7,7 @@ import { AspectRatio } from '@/lib/registry/default/ui/aspect-ratio'
|
||||||
<img
|
<img
|
||||||
src="https://images.unsplash.com/photo-1588345921523-c2dcdb7f1dcd?w=800&dpr=2&q=80"
|
src="https://images.unsplash.com/photo-1588345921523-c2dcdb7f1dcd?w=800&dpr=2&q=80"
|
||||||
alt="Photo by Drew Beamer"
|
alt="Photo by Drew Beamer"
|
||||||
class="rounded-md object-cover"
|
class="rounded-md object-cover w-full h-full"
|
||||||
>
|
>
|
||||||
</AspectRatio>
|
</AspectRatio>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user