fix(Field): reset appearance in safari (#4380)

This commit is contained in:
neverland 2019-09-05 20:21:04 +08:00 committed by GitHub
parent 3f8ffccb36
commit 4e404144ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,12 +50,17 @@
text-align: right; text-align: right;
} }
/* for ios wechat */ // for ios wechat
&[type="date"], &[type="date"],
&[type="time"], &[type="time"],
&[type="datetime-local"] { &[type="datetime-local"] {
min-height: @cell-line-height; min-height: @cell-line-height;
} }
// for safari
&[type="search"] {
-webkit-appearance: none;
}
} }
&__clear, &__clear,