I am trying to style the ngb-accordion built with ng-bootstrap.
home.component.html :
<ngb-accordion #acc="ngbAccordion" [activeIds]="activeIds" >
<ngb-panel *ngFor="let tab of tabs; let i= index" title="Tab{{i+1}}" id="tab-{{i+1}}">
<ng-template ngbPanelContent>
Tab
</ng-template>
</ngb-panel>
</ngb-accordion>
home.component.scss :
ngb-panel {
width: 300px;
color: red;
background-color: orange;
}
I put that on the scss and nothing happens. I also installed bootstrap and added it in styles.scss
@import "../node_modules/bootstrap/scss/bootstrap.scss";
How can I style a ng-boostrap widget?