Hello,
I’m desperate to change the size of a toggle (width: 100%;). the handle is blocked. Does anyone have a solution?
thx
html
<ion-tabs>
<ion-toolbar no-padding>
<ion-grid class="grid">
<ion-row>
<ion-col text-center>
<h3 *ngIf="toggleValue==false" class="left">Left</h3>
</ion-col>
<ion-col text-center>
<h3>
<ion-toggle class="toggle" [(ngModel)]="toggleValue"></ion-toggle>
</h3>
</ion-col>
<ion-col text-center>
<h3 *ngIf="toggleValue!==false" class="right">Right</h3>
</ion-col>
</ion-row>
</ion-grid>
</ion-toolbar>
scss
.toggle{
--background:#d33939;
--background-checked:#10dc60;
width: 100%;
}