mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(select): make invalid selector more specific (#2166)
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
border-bottom: 1px solid md-color($primary);
|
||||
}
|
||||
|
||||
.ng-invalid.ng-touched:not(.md-select-disabled) & {
|
||||
md-select.ng-invalid.ng-touched:not(.md-select-disabled) & {
|
||||
color: md-color($warn);
|
||||
border-bottom: 1px solid md-color($warn);
|
||||
}
|
||||
@@ -29,7 +29,7 @@
|
||||
color: md-color($primary);
|
||||
}
|
||||
|
||||
.ng-invalid.ng-touched:not(.md-select-disabled) & {
|
||||
md-select.ng-invalid.ng-touched:not(.md-select-disabled) & {
|
||||
color: md-color($warn);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user