Skip to content

Commit

Permalink
chore(textarea): remove unnecessary selectors and styles
Browse files Browse the repository at this point in the history
  • Loading branch information
didimmova committed Dec 18, 2024
1 parent 57553be commit 39d9cf4
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/components/textarea/themes/shared/textarea.material.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,9 @@ textarea {
}

[part='label'] {
transform-origin: top left;
top: calc($input-top-padding - #{rem(2px)});
position: absolute;
max-width: 100%;
top: calc($input-top-padding - #{rem(2px)});
padding-inline-end: rem(4px);
line-height: normal;
backface-visibility: hidden;
transition:
transform 150ms cubic-bezier(.4, 0, .2, 1),
color 150ms cubic-bezier(.4, 0, .2, 1),
Expand Down Expand Up @@ -90,7 +86,6 @@ textarea {
}
}

textarea:placeholder-shown ~ [part='notch'] [part='label'],
textarea:placeholder-shown + [part='notch'] [part='label'],
[part~='filled'] [part='notch'] [part='label'] {
@extend %label-filled;
Expand Down Expand Up @@ -256,7 +251,6 @@ textarea {
}

textarea:placeholder-shown + [part='notch'] [part='label'],
textarea:placeholder-shown ~ [part='notch'] [part='label'],
[part~='filled'] [part='notch'] [part='label'] {
@extend %label-outlined-filled;
}
Expand Down

0 comments on commit 39d9cf4

Please sign in to comment.