Skip to content

Commit

Permalink
fix(accordion): prevent styling of projected icons (#1836)
Browse files Browse the repository at this point in the history
  • Loading branch information
yggg committed Jul 23, 2019
1 parent 272cbd3 commit a7b55da
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
position: relative;
@include nb-accordion-item-header();

nb-icon {
.expansion-indicator {
position: absolute;
@include nb-ltr(right, 1rem);
@include nb-rtl(left, 1rem);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ import { NbAccordionItemComponent } from './accordion-item.component';
<ng-content select="nb-accordion-item-title"></ng-content>
<ng-content select="nb-accordion-item-description"></ng-content>
<ng-content></ng-content>
<nb-icon icon="chevron-down-outline" pack="nebular-essentials" [@expansionIndicator]="state" *ngIf="!disabled" >
<nb-icon icon="chevron-down-outline"
pack="nebular-essentials"
[@expansionIndicator]="state"
*ngIf="!disabled"
class="expansion-indicator">
</nb-icon>
`,
animations: [
Expand Down

0 comments on commit a7b55da

Please sign in to comment.