fix: aspect ratio height

This commit is contained in:
zernonia 2023-09-04 11:57:21 +08:00
parent 56f473ccc1
commit 91d6c400ea

View File

@ -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>