Roll back input change to fix input border issue

This commit is contained in:
Nicolas Cusan
2020-08-17 09:32:04 +02:00
parent 1b496a69a6
commit bb4cbab045

View File

@@ -231,7 +231,7 @@ iframe {
*/ */
button, button,
input:not([type="radio"]):not([type="checkbox"]), input,
optgroup, optgroup,
select, select,
textarea { textarea {
@@ -249,6 +249,20 @@ textarea {
text-align: inherit; text-align: inherit;
} }
/**
* Reset radio and checkbox appearance to preserve their look in iOS.
*/
[type="checkbox"] {
-webkit-appearance: checkbox;
appearance: checkbox;
}
[type="radio"] {
-webkit-appearance: radio;
appearance: radio;
}
/** /**
* Show the overflow in IE. * Show the overflow in IE.
* 1. Show the overflow in Edge. * 1. Show the overflow in Edge.
@@ -372,17 +386,6 @@ textarea {
overflow: auto; overflow: auto;
} }
/**
* Remove margin, padding & outline.
*/
[type="checkbox"],
[type="radio"] {
padding: 0;
margin: 0;
outline: 0;
}
/** /**
* Correct the cursor style of increment and decrement buttons in Chrome. * Correct the cursor style of increment and decrement buttons in Chrome.
*/ */