Skip to content

Commit

Permalink
fix(carousel): fixed styles for carousel navigation buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
valorkin committed Jan 18, 2017
1 parent c32ac21 commit a1489bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/carousel/carousel.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ export enum Direction {UNKNOWN, NEXT, PREV}
<li *ngFor="let slidez of slides; let i = index;" [class.active]="slidez.active === true" (click)="selectSlide(i)"></li>
</ol>
<div class="carousel-inner"><ng-content></ng-content></div>
<a class="left carousel-control-prev" [class.disabled]="activeSlide === 0 && noWrap" (click)="previousSlide()" *ngIf="slides.length > 1">
<a class="left carousel-control carousel-control-prev" [class.disabled]="activeSlide === 0 && noWrap" (click)="previousSlide()" *ngIf="slides.length > 1">
<span class="icon-prev carousel-control-prev-icon" aria-hidden="true"></span>
<span *ngIf="isBs4" class="sr-only">Previous</span>
</a>
<a class="right carousel-control-next" (click)="nextSlide()" [class.disabled]="isLast(activeSlide) && noWrap" *ngIf="slides.length > 1">
<a class="right carousel-control carousel-control-next" (click)="nextSlide()" [class.disabled]="isLast(activeSlide) && noWrap" *ngIf="slides.length > 1">
<span class="icon-next carousel-control-next-icon" aria-hidden="true"></span>
<span *ngIf="isBs4" class="sr-only">Next</span>
<span class="sr-only">Next</span>
</a>
</div>
`
Expand Down

0 comments on commit a1489bd

Please sign in to comment.