Skip to content

Commit 9056b87

Browse files
committed
chore(textarea): add notch selector as not direct sibling
1 parent 39d9cf4 commit 9056b87

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ textarea {
8787
}
8888

8989
textarea:placeholder-shown + [part='notch'] [part='label'],
90+
textarea:placeholder-shown ~ [part='notch'] [part='label'],
9091
[part~='filled'] [part='notch'] [part='label'] {
9192
@extend %label-filled;
9293
}
@@ -251,6 +252,7 @@ textarea {
251252
}
252253

253254
textarea:placeholder-shown + [part='notch'] [part='label'],
255+
textarea:placeholder-shown ~ [part='notch'] [part='label'],
254256
[part~='filled'] [part='notch'] [part='label'] {
255257
@extend %label-outlined-filled;
256258
}

0 commit comments

Comments
 (0)