How to avoid using! important when I need to style a Vuetify component?
Maybe I'm missing something but when I try to apply my own class to a v-btn the style doesn't show unless I add !important (which is a bad practice). How could I style just one component without using important?
@martinzeltin you can go more specific with your css to avoid the !important
eg:
section div ul li button.btn-add {
height: 49px;
}
best way to check what classes you need is to inspect your Dom and see which classes are overriding yours, and then get more specific with dom selector.
But these classes get ignored because they are not "important" enough. They are overwritten by Vuetify's own classes which seem to have greater importance.