I have an angular site that has a component that specifies a .scss file:
@Component({
selector: 'app-config',
templateUrl: './config.component.html',
styleUrls: ['./config.component.scss']
})
export class ConfigComponent implements OnInit {
The contents of config.component.scss are as follows:
.api-selected {
background-color: yellowgreen !important;
}
Yet I don't see "api-selected" in Chrome inspector. My html has an element that has the class "api-selected", and if I insert "api-selected" manually in inspector, the background effect shows up. In other components, the .scss contents are active. I've tried clearing the browser cache. If I save config.component.scss, the project rebuilds, so that part is working.
Any suggestions appreciated...