Ionic v7 customize ion-input floating label

As you can see the floating labels are cut by the autofill of chrome. I wanted to customize the margin-bottom of the label of the ion-inputs addressing the label-text-wrapper class, but that doesn’t work.

Any ideas? Is there a way to achieve what I want or to just simply increase the z-index, so that the label is over the autofill background? Or do i have to use ion-label from ionic v6?

1 Like

yes, styling is super annoying with ionic