Skip to content

Stepper icon override not aligned correctly #12945

Closed
@kgajera

Description

@kgajera

Bug, feature request, or proposal:

Bug

What is the expected behavior?

Centered alignment when overriding icon like this (as shown in the current docs):
<ng-template matStepperIcon="number" let-index="index"> {{index + 10}} </ng-template>

What is the current behavior?

Aligned to the top left

What are the steps to reproduce?

https://stackblitz.com/edit/angular-xeo5ty

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

@angular/[email protected]

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions