Fixed placeholder in IE

This commit is contained in:
Igor Zhukov 2015-10-14 00:45:10 +02:00
parent cc10a2a3de
commit 8c72653059

View File

@ -2869,6 +2869,7 @@ a.composer_command_option.composer_autocomplete_option_active .composer_command_
} }
} }
// Mozilla hack
@-moz-document url-prefix() { @-moz-document url-prefix() {
.composer_rich_textarea:empty:active:before, .composer_rich_textarea:empty:active:before,
.composer_rich_textarea:empty:focus:before { .composer_rich_textarea:empty:focus:before {
@ -2876,6 +2877,15 @@ a.composer_command_option.composer_autocomplete_option_active .composer_command_
} }
} }
// IE hack
_:-ms-lang(x), .composer_rich_textarea:empty:active:before {
display: none;
}
_:-ms-lang(x), .composer_rich_textarea:empty:focus:before {
display: none;
}
.composer_command_btn { .composer_command_btn {
display: block; display: block;
position: absolute; position: absolute;