Skip to content

Commit a7c88c5

Browse files
karajelbourn
authored andcommitted
fix(select): make invalid selector more specific (#2166)
1 parent 473752b commit a7c88c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/select/_select-theme.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
border-bottom: 1px solid md-color($primary);
1717
}
1818

19-
.ng-invalid.ng-touched:not(.md-select-disabled) & {
19+
md-select.ng-invalid.ng-touched:not(.md-select-disabled) & {
2020
color: md-color($warn);
2121
border-bottom: 1px solid md-color($warn);
2222
}
@@ -29,7 +29,7 @@
2929
color: md-color($primary);
3030
}
3131

32-
.ng-invalid.ng-touched:not(.md-select-disabled) & {
32+
md-select.ng-invalid.ng-touched:not(.md-select-disabled) & {
3333
color: md-color($warn);
3434
}
3535
}

0 commit comments

Comments
 (0)