Skip to content

Commit

Permalink
Merge pull request #16621 from primefaces/issue-16620
Browse files Browse the repository at this point in the history
Fixed #16620 - Steps | Remove unnecessary spaces
  • Loading branch information
mehmetcetin01140 authored Nov 12, 2024
2 parents 080df9e + 13bbf78 commit 7b32d75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/components/steps/steps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ import { Subscription } from 'rxjs';
[state]="item.state"
[attr.aria-current]="i === activeIndex ? 'step' : null"
>
<span class="p-steps-number"> {{ i + 1 }}</span>
<span class="p-steps-number">{{ i + 1 }}</span>
<span class="p-steps-title" *ngIf="item.escape !== false; else htmlLabel"> {{ item.label }}</span>
<ng-template #htmlLabel><span class="p-steps-title" [innerHTML]="item.label"></span></ng-template>
</a>
Expand All @@ -65,7 +65,7 @@ import { Subscription } from 'rxjs';
[attr.aria-disabled]="item.disabled || (readonly && i !== activeIndex)"
[attr.aria-current]="i === activeIndex ? 'step' : null"
>
<span class="p-steps-number"> {{ i + 1 }} </span>
<span class="p-steps-number">{{ i + 1 }} </span>
<span class="p-steps-title" *ngIf="item.escape !== false; else htmlRouteLabel">{{ item.label }}</span>
<ng-template #htmlRouteLabel><span class="p-steps-title" [innerHTML]="item.label"></span></ng-template>
</a>
Expand Down

0 comments on commit 7b32d75

Please sign in to comment.