Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 2aca2fb

Browse files
committed
chore(textfield): revert hover fix
1 parent 46fc2b6 commit 2aca2fb

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

packages/mdc-textfield/_mixins.scss

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -602,10 +602,13 @@
602602
}
603603

604604
@mixin mdc-text-field-hover-outline-color_($color) {
605-
&:not(.mdc-text-field--focused):hover {
606-
.mdc-notched-outline {
607-
@include mdc-notched-outline-color($color);
608-
}
605+
&:not(.mdc-text-field--focused) {
606+
// stylelint-disable-next-line selector-combinator-space-after
607+
.mdc-text-field__input:hover ~,
608+
.mdc-text-field__icon:hover ~ {
609+
.mdc-notched-outline {
610+
@include mdc-notched-outline-color($color);
611+
}
609612
}
610613
}
611614

0 commit comments

Comments
 (0)