Skip to content

Commit

Permalink
add !important to enable placeholder styling in IE
Browse files Browse the repository at this point in the history
  • Loading branch information
blackawa committed Apr 18, 2016
1 parent bffda0b commit 764321a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/definitions/collections/form.less
Expand Up @@ -344,7 +344,7 @@
color: @inputErrorPlaceholderColor;
}
.ui.form .error :-ms-input-placeholder {
color: @inputErrorPlaceholderColor;
color: @inputErrorPlaceholderColor !important;
}
.ui.form .error ::-moz-placeholder {
color: @inputErrorPlaceholderColor;
Expand All @@ -354,7 +354,7 @@
color: @inputErrorPlaceholderFocusColor;
}
.ui.form .error :focus:-ms-input-placeholder {
color: @inputErrorPlaceholderFocusColor;
color: @inputErrorPlaceholderFocusColor !important;
}
.ui.form .error :focus::-moz-placeholder {
color: @inputErrorPlaceholderFocusColor;
Expand Down
4 changes: 2 additions & 2 deletions src/definitions/elements/input.less
Expand Up @@ -188,7 +188,7 @@
color: @placeholderErrorColor;
}
.ui.input.error input:-ms-input-placeholder {
color: @placeholderErrorColor;
color: @placeholderErrorColor !important;
}

/* Focused Error Placeholder */
Expand All @@ -199,7 +199,7 @@
color: @placeholderErrorFocusColor;
}
.ui.input.error input:focus:-ms-input-placeholder {
color: @placeholderErrorFocusColor;
color: @placeholderErrorFocusColor !important;
}

/*******************************
Expand Down

0 comments on commit 764321a

Please sign in to comment.