I want to increase the size of a Material Slide Toggle on a page of my Angular 8 project. I have tried setting the size to large, like this:
<mat-slide-toggle size="large" color="primary"></mat-slide-toggle>
However, changing the size from small, medium, and large changes nothing. It remains the same size of the screen. I've also tried adding a style to the component like this:
mat-slide-toggle {
height: 100px;
width: 100px;
}
But that doesn't change the the size of the visible component, but it does increase the div the component is in.
How do I change the size of the Material Slide Toggle Component?