Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(inputContainer): style ng-messages as both element and attr
Browse files Browse the repository at this point in the history
closes #2361
  • Loading branch information
rschmukler committed Apr 16, 2015
1 parent 7f2878e commit a5d09af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/input/input-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ md-input-container.md-THEME_NAME-theme {
color: '{{foreground-3}}';
}

div[ng-messages] {
ng-messages,
[ng-message], [data-ng-message], [x-ng-message] {

This comment has been minimized.

Copy link
@gkalpak

gkalpak Apr 16, 2015

Member

Did you mean ...-messages (with trailing s) ?

This comment has been minimized.

Copy link
@gkalpak

gkalpak Apr 16, 2015

Member

BTW, I don't think it is worth it to bother with data-/x- prefixes, because:

  1. There are many more cases where ngMaterial does not take prefixes or alternative separators into account anyway.
  2. There are more variations (e.g. using : or _ as separator or using mixed separators).
color: '{{warn-500}}'
}

Expand Down

0 comments on commit a5d09af

Please sign in to comment.