vtex-apps / store-discussion

VTEX IO store builders' community
80 stars 5 forks source link

overwritten css classes #693

Open gealcan opened 1 year ago

gealcan commented 1 year ago

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