Skip to content
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

overwritten css classes #693

Open
gealcan opened this issue Aug 3, 2022 · 0 comments
Open

overwritten css classes #693

gealcan opened this issue Aug 3, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@gealcan
Copy link

gealcan commented Aug 3, 2022

Describe the bug
In the sku-selector app we have some standard css that are in a style.css file in the app itself. So we put our custom style via store theme and all is well.

The problem happens after a few builds, for some reason the default style of the app overrides our custom style. This only happens in production.

Expected behavior
In this case it is difficult to know that we have to put an !important to prevent this, since it only occurs in production

Screenshots
vtex/sku-selector
Screenshot from 2022-08-03 15-17-58

Screenshot from 2022-08-03 10-51-42

I'm raising this point, to hear from you if this is already a known recurring problem and if there's any clean way to prevent it

@gealcan gealcan added the bug Something isn't working label Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant