I am facing an issue in my Angular project where the scss rules that define how components should look when within the context of another component are not being applied when I build for production and put it live. Here is an example:
:host-context(my-table my-row.header){
font-weight: 500;
white-space: nowrap;
height: 40px;
color: #6d6d6d;
background-color: #f3f3f3;
}
While this works fine on localhost, the styling does not show up in production. I am unsure why there would be a difference between the two environments?
If anyone has any suggestions on how to resolve this issue and ensure that the styling is consistent in both development and production, I would greatly appreciate it.