I am attempting to format text in a way that it is aligned with part on the left side of the card and the other part on the right (with space between them).
However, when using class="text-right"
, the text gets moved down.
Does anyone have any ideas on how to move it to the right while keeping it on the same line?
new Vue({
el: '#app',
vuetify: new Vuetify(),
})
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.17/vue.js"></script>
<div id="app">
<v-app id="inspire">
<v-card
class="mx-auto"
width="400"
>
<v-card-title>Cafe Badilico</v-card-title>
<v-card-text>
<v-row
align="center"
class="mx-0"
>
</v-row>
<div class="my-4 subtitle-1 black--text">
$ • Italian,Cafe
<p class="text-right">Small plates</p>
</div>
</v-card-text>
<v-divider class="mx-4"></v-divider>
<v-card-title>Tonight's availability</v-card-title>
</v-card>
</v-app>
</div>
You can view the result in this CodePen link: