I'm trying to adjust the gap between the floating label and the border next to it.
As you can see below, on the second picture:
There is a wider gap on the right, between the floating label and the border. I want to adjust this so that the gap is even on both sides.
The styles I have so far for the floating label:
mat-form-field span.mat-form-field-label-wrapper label {
color: white;
opacity: 0.5;
}
.mat-form-field-label-wrapper {
transform: translate(1.3em, -0.3rem);
}
.mat-form-field.mat-focused .mat-form-field-label {
font-size: 0.75rem;
color: white;
opacity: 1;
}
I tried messing around with margin-right and translate to the right but nothing seems to work... that gap persists.
Is there any way I can do this?
Thank you in advance.