Skip to content

Commit

Permalink
[bugfix] Field: date type not work in iOS (#1586)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjiahan committed Aug 3, 2018
1 parent 7f72a59 commit 2e4c44f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/vant-css/src/field.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@
&--right {
text-align: right;
}

/* for ios wechat */
&[type="date"],
&[type="time"] {
min-height: 24px;
}
}

&__clear,
Expand Down

0 comments on commit 2e4c44f

Please sign in to comment.