Skip to content

Commit 21dcfc4

Browse files
committed
remove bluriness fixes that aren't needed anymore
1 parent a423987 commit 21dcfc4

File tree

4 files changed

+0
-18
lines changed

4 files changed

+0
-18
lines changed

src/lib/form-field/_form-field-box-theme.scss

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ $mat-form-field-box-dedupe: 0;
4545
scale($font-scale);
4646
width: 100% / $font-scale + $mat-form-field-box-dedupe;
4747

48-
// Prevent text bluriness when label is floating.
49-
backface-visibility: initial;
50-
5148
$mat-form-field-box-dedupe: $mat-form-field-box-dedupe + 0.00001 !global;
5249
}
5350

src/lib/form-field/_form-field-theme.scss

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,6 @@ $mat-form-field-dedupe: 0;
109109
scale($font-scale);
110110
width: 100% / $font-scale + $mat-form-field-dedupe;
111111

112-
// Prevent text bluriness when label is floating.
113-
backface-visibility: initial;
114-
115112
$mat-form-field-dedupe: $mat-form-field-dedupe + 0.00001 !global;
116113
}
117114

src/lib/form-field/form-field-legacy.scss

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,7 @@ $mat-form-field-legacy-underline-height: 1px !default;
99

1010

1111
.mat-form-field-variant-legacy {
12-
.mat-form-field-label-wrapper {
13-
filter: initial;
14-
}
15-
1612
.mat-form-field-label {
17-
backface-visibility: initial;
18-
1913
transform: perspective(100px);
2014
-ms-transform: none;
2115
}

src/lib/form-field/form-field.scss

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,6 @@ $mat-form-field-default-infix-width: 180px !default;
7878
height: 100%;
7979
overflow: hidden;
8080
pointer-events: none; // We shouldn't catch mouse events (let them through).
81-
82-
// Helps prevent text jumpiness when transforming the label.
83-
filter: blur(0);
8481
}
8582

8683
// The label itself. This is invisible unless it is. The logic to show it is
@@ -108,9 +105,6 @@ $mat-form-field-default-infix-width: 180px !default;
108105
// Hide the label initially, and only show it when it's floating or the control is empty.
109106
display: none;
110107

111-
// Helps prevent text jumpiness when transforming the label.
112-
backface-visibility: hidden;
113-
114108
[dir='rtl'] & {
115109
transform-origin: 100% 0;
116110
left: auto;

0 commit comments

Comments
 (0)