Skip to content

Commit

Permalink
fix(input): Fix to hide input overlays on old Android
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Bradley committed Apr 16, 2014
1 parent 83fd11c commit 0e9072e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions scss/_form.scss
Expand Up @@ -213,6 +213,30 @@ input[type="color"] {
border: 0;
}

// Fix to hide input overlays on old Android
.platform-android2,
.platform-android4_0 {
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"] {
position: relative;
top: -9999px;
@include translate3d(0, 9999px, 0);
}
}

// Position radios and checkboxes better
input[type="radio"],
input[type="checkbox"] {
Expand Down

0 comments on commit 0e9072e

Please sign in to comment.