style: fix placholder color missing (#32915)

This commit is contained in:
afc163 2021-11-17 18:46:50 +08:00 committed by GitHub
parent 892bf99321
commit 2424a1abf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,15 +10,10 @@
&::placeholder {
color: @color;
user-select: none; // https://github.com/ant-design/ant-design/pull/32639
}
&:placeholder-shown {
text-overflow: ellipsis;
}
// Chrome
/* stylelint-disable-next-line selector-no-vendor-prefix */
&::-webkit-input-placeholder {
user-select: none;
}
}