Skip to content

Commit 39d9cf4

Browse files
committed
chore(textarea): remove unnecessary selectors and styles
1 parent 57553be commit 39d9cf4

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/components/textarea/themes/shared/textarea.material.scss

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,9 @@ textarea {
3434
}
3535

3636
[part='label'] {
37-
transform-origin: top left;
38-
top: calc($input-top-padding - #{rem(2px)});
3937
position: absolute;
40-
max-width: 100%;
38+
top: calc($input-top-padding - #{rem(2px)});
4139
padding-inline-end: rem(4px);
42-
line-height: normal;
43-
backface-visibility: hidden;
4440
transition:
4541
transform 150ms cubic-bezier(.4, 0, .2, 1),
4642
color 150ms cubic-bezier(.4, 0, .2, 1),
@@ -90,7 +86,6 @@ textarea {
9086
}
9187
}
9288

93-
textarea:placeholder-shown ~ [part='notch'] [part='label'],
9489
textarea:placeholder-shown + [part='notch'] [part='label'],
9590
[part~='filled'] [part='notch'] [part='label'] {
9691
@extend %label-filled;
@@ -256,7 +251,6 @@ textarea {
256251
}
257252

258253
textarea:placeholder-shown + [part='notch'] [part='label'],
259-
textarea:placeholder-shown ~ [part='notch'] [part='label'],
260254
[part~='filled'] [part='notch'] [part='label'] {
261255
@extend %label-outlined-filled;
262256
}

0 commit comments

Comments
 (0)