I am using Vuetify.js and I am trying to show a single word on the right side of an image within a v-card:
<v-card>
<v-img
src="https://cdn.vuetifyjs.com/images/cards/desert.jpg"
aspect-ratio="2.75">
<span class="my-span">
Info
</span>
</v-img>
</v-card>
However, the output is not as expected:
https://i.sstatic.net/wETAa.png
Even though my-span
has margin-right:0;
:
.my-span {
background-color:blue;
color:white;
font-weight:bold;
margin-right:0;
}
Is there a way to resolve this issue?