-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Description
Bug, feature request, or proposal:
Bug/improvement
What is the expected behavior?
Slide toggle to be centered when no text/label
What is the current behavior?
Slide toggle not centered when no text/label
What are the steps to reproduce?
What is the use-case or motivation for changing an existing behavior?
.mat-slide-toggle-label{
height: inherit;
}
If no content/text/label:
.mat-slide-toggle-bar{
margin-right: 0;
}
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
beta10
Is there anything else we should know?
Maybe have *ngIf on .mat-slide-toggle-content and margin-left on it.
Metadata
Metadata
Assignees
Labels
No labels