code-8
code-8

Reputation: 58632

Vuetify show select options nicely

My select options covering my label "Download".

enter image description here

I've tried to add offset-y, but the result is still bad.

<v-select offset-y dense outlined :items="downloadOptions" label="Download" v-model="downloadOption"></v-select>

Any hints for me to achieve that?

Upvotes: 1

Views: 896

Answers (2)

tuhin47
tuhin47

Reputation: 6058

you can try with css Here is the code.

.v-text-field--outlined.v-input--dense .v-label--active {
    transform: translateY(-26px) scale(.75);
}

Upvotes: 2

Jay Fridge
Jay Fridge

Reputation: 1057

Use the menu-props prop.

For boolean values like offset-y you can just pass a string.

<v-select menu-props="offset-y"></v-select>

Here is the corresponding Documentation.

Upvotes: 2

Related Questions