I am new to angular 2 and material design. I would like to know how to style the slide-toggle button to be smaller.
<div class="example-section">
<mat-slide-toggle class="line-toggle"
<span class="font-size-12">Slide Me</span>
</mat-slide-toggle>
</div>
The css is as below
.example-section {
display: flex;
align-content: center;
align-items: center;
height: 18px;
margin-top: -12px;
}
.line-toggle{
height: 10px;
line-height: 8px;
}
I would like to decrease the size of the button and reduce the height of the slider.