Skip to content

Commit

Permalink
Merge pull request #961 from Automattic/sass-field-padding
Browse files Browse the repository at this point in the history
Update form field padding in Sass so style.css and Sass match.
  • Loading branch information
sixhours committed May 26, 2016
2 parents af216fa + d2eeef9 commit 9c67bc3
Showing 1 changed file with 3 additions and 21 deletions.
24 changes: 3 additions & 21 deletions sass/forms/_fields.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ textarea {
color: $color__text-input;
border: 1px solid $color__border-input;
border-radius: 3px;

padding: 3px;

&:focus {
color: $color__text-input-focus;
}
Expand All @@ -27,25 +28,6 @@ select {
border: 1px solid $color__border-input;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"] {
padding: 3px;
}

textarea {
padding-left: 3px;
width: 100%;
}
}

0 comments on commit 9c67bc3

Please sign in to comment.