I am facing an issue where I am trying to make sure a v-card always maintains a square shape (or any other aspect ratio set), even if it means there is scrolling or cut-off text/components inside the card.
For example, I want this v-card with lorem ipsum text to always be the same size as the square cards being displayed, but allowing scrolling instead (or even just cutting off the text would suffice).
The v-img is currently used to stretch the v-card to the square size when there isn't enough content, but I'm unsure if there's another option that could be utilized here?
Here is the code snippet for displaying the card in a v-row loop:
<v-card width="100%"
aspect-ratio="1"
:color="text ? 'primary' : ''">
<v-img aspect-ratio="1">
<v-card-text class="text-h6 font-weight-black white--text">
{{ text }}
</v-card-text>
</v-img>
</v-card>
Thank you in advance.