Reputation: 113
<mat-slide-toggle>Slide Me!</mat-slide-toggle>
How to increase length of the toggle-thumb-icon,is it possible to customise the toggle-thumb-icon to the end of the bar?
Upvotes: 2
Views: 2002
Reputation: 222522
You can do with the simple style
.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container {
transform: translate3d(32px,0,0) !important;
}
Upvotes: 5