fix(label): remove subpixel font-size to prevent visual glitches (#20415)

resolves #20407
This commit is contained in:
Liam DeBeasi
2020-02-10 09:11:12 -05:00
committed by GitHub
parent 3403574f31
commit 3d6f287d87

View File

@ -18,7 +18,7 @@
:host(.label-stacked) { :host(.label-stacked) {
@include margin(null, null, 4px, null); @include margin(null, null, 4px, null);
font-size: 13.6px; font-size: 14px;
} }
:host(.label-floating) { :host(.label-floating) {
@ -37,7 +37,7 @@
:host-context(.item-has-focus).label-floating, :host-context(.item-has-focus).label-floating,
:host-context(.item-has-placeholder).label-floating, :host-context(.item-has-placeholder).label-floating,
:host-context(.item-has-value).label-floating { :host-context(.item-has-value).label-floating {
@include transform(translate3d(0, 0, 0), scale(.8)); @include transform(translate3d(0, 0, 0), scale(.82));
} }