I am using ionic button with disabled property like this
<ion-button expand="full" type="submit" [disabled]="!loginForm.valid (click)="login()">Login</ion-button>
Here is how it looks when -
Form is Invalid
Form is valid
On inspecting i found, it’s the COMPUTED padding-inline-start: 16px; and padding-inline-end: 16px; that is causing this kind of background;
How to remove that padding ?