Skip to content

Commit

Permalink
Merge pull request #342 from alphagov/remove-rounded-corners-ios
Browse files Browse the repository at this point in the history
Remove rounded corners on form inputs elements and textareas in iOS
  • Loading branch information
robinwhittleton authored Nov 7, 2016
2 parents e9743a7 + 83be41b commit 3aa3bbf
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions public/sass/elements/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,17 @@ textarea {

}

// Allow a qualifying element, remove rounded corners from inputs and textareas
// scss-lint:disable QualifyingElement
input.form-control,
textarea.form-control {
// Remove inner shadow
-webkit-appearance: none;
// Remove rounded corners
border-radius: 0;
}
// scss-lint:enable QualifyingElement

// Radio buttons
.form-radio {
display: block;
Expand Down

0 comments on commit 3aa3bbf

Please sign in to comment.