Answer the question
In order to leave comments, you need to log in
How to make v-select width equal to content width in vuetify?
I have this code:
<v-row align="center" justify="space-between">
<v-col>
<v-pagination left :length="paginatorPages" v-model="currentPage" :disabled="loadInProgress">
</v-pagination>
</v-col>
<v-col>
<v-select :items="pagesizes" v-model="filters.pagesize" @change="changePagesize" :disabled="loadInProgress"></v-select>
</v-col>
</v-row>
Answer the question
In order to leave comments, you need to log in
You can v-col
set a prop cols="auto"
to tell the columns not to take up all the free space on the axis, but to insert an element between the columns v-spacer
that, on the contrary, will try to take all the free space (in fact, this is where all its tasks end). I can also advise you to hide the invisible input
y v-select
using styles, it also creates an extra unwanted width
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question