mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-08 23:58:13 +08:00
fix(label): remove subpixel font-size to prevent visual glitches (#20415)
resolves #20407
This commit is contained in:
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user