From 39d9cf41f0cfdc4e08136cd333449ff752346cef Mon Sep 17 00:00:00 2001 From: didimmova Date: Wed, 18 Dec 2024 11:10:20 +0200 Subject: [PATCH] chore(textarea): remove unnecessary selectors and styles --- .../textarea/themes/shared/textarea.material.scss | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/components/textarea/themes/shared/textarea.material.scss b/src/components/textarea/themes/shared/textarea.material.scss index 25343d171..abba96e7f 100644 --- a/src/components/textarea/themes/shared/textarea.material.scss +++ b/src/components/textarea/themes/shared/textarea.material.scss @@ -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), @@ -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; @@ -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; }