-
-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] add prefix to grid classes #7039
Comments
I can see this happening for grid but not utilities. |
in the cdn file: https://cdn.jsdelivr.net/npm/vuetify/dist/vuetify.min.css, you can format the file with chrome devtool, and there is some style applied to normal element like this: By the way, class like 'container' is too normal so it's easy to conflict with exist style in project (: |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Just started evaluating Vuetify to see if I can / want to use it in my project and this is the first issue I came across in the first hour: the conflict with my existing container class, adding unwanted padding. It would be great if these generic classes can be renamed with a |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This was done for grid classes in #12822 |
Problem to solve
If implement the vuetify to an existing project, it's easy to break the original style for vuetify have a set of util style classes, like
container
,layout
orsuccess
etc. And it also apply some style to default element like padding inul > li
, which could affect the existing style.see this problem: https://stackoverflow.com/questions/54293336/how-to-avoid-vuetify-overrides-default-css
Proposed solution
Maybe add a prefix to these util classes and not apply style to default element?
The text was updated successfully, but these errors were encountered: