diff --git a/less/04-forms.less b/less/04-forms.less index 92b1f3b..0728b0c 100644 --- a/less/04-forms.less +++ b/less/04-forms.less @@ -37,7 +37,6 @@ legend { white-space: normal; } textarea { - overflow: auto; /* Removes default vertical scrollbar on empty textarea in IE6/7/8/9 */ min-height: 5em; vertical-align: top; font-family: inherit; @@ -51,10 +50,6 @@ input[type="submit"] { cursor: pointer; -webkit-appearance: button; /* clickable input types in iOS */ } -input[type="checkbox"], -input[type="radio"] { - padding: 0; /* Corrects excess space around these inputs in IE8/9 */ -} input[type="search"] { -webkit-appearance: textfield; } diff --git a/less/11-ie.less b/less/11-ie.less index 209cfd7..d2d915b 100644 --- a/less/11-ie.less +++ b/less/11-ie.less @@ -75,6 +75,15 @@ *display: inline; *zoom: 1; } + + /* forms */ + input[type="checkbox"], + input[type="radio"] { + padding: 0; /* Corrects excess space around these inputs in IE8/9 */ + } + textarea { + overflow: auto; /* Removes default vertical scrollbar on empty textarea in IE6/7/8/9 */ + } /* Active box-sizing for IE6/IE7 */ /* @source https://github.com/Schepp/box-sizing-polyfill */