Reputation: 361
I have a textarea and I found that it has top margin. like this..
this is my code:
<v-flex d-flex xs12>
<v-textarea
v-model="test"
outline
type="text"
color="primary"
v-validate="{required: true}"
data-vv-name="test"
:error-messages="errors.collect('test')"
> </v-textarea>
</v-flex>
I tried adding class="mt-0"
to v-textarea
but it did not work.
Does anyone know how to remove and why I have this top margin?
I am using version 1.5.x
Thanks!!
Upvotes: 1
Views: 367
Reputation: 113
Not the best practice but you can inspect elements and find which class adds the margin. Then add custom class on textarea.
.your-class >>> .textarea-class-that-you-found {
margin-top: 0
}
Upvotes: 2