Browse Source

Properly override normalize.css' `box-sizing` for all browsers.

Fix #481.
pull/482/head
XhmikosR 11 years ago
parent
commit
415867d239
  1. 4
      dist/css/ratchet.css
  2. 2
      dist/css/ratchet.min.css
  3. 4
      docs/dist/css/ratchet.css
  4. 2
      docs/dist/css/ratchet.min.css
  5. 5
      sass/forms.scss

4
dist/css/ratchet.css vendored

@ -856,7 +856,9 @@ input[type="color"] {
}
input[type="search"] {
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0 10px;
font-size: 16px;
border-radius: 20px;

2
dist/css/ratchet.min.css vendored

File diff suppressed because one or more lines are too long

4
docs/dist/css/ratchet.css vendored

@ -856,7 +856,9 @@ input[type="color"] {
}
input[type="search"] {
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0 10px;
font-size: 16px;
border-radius: 20px;

2
docs/dist/css/ratchet.min.css vendored

File diff suppressed because one or more lines are too long

5
sass/forms.scss

@ -45,7 +45,10 @@ input[type="search"] {
padding: 0 10px;
font-size: 16px;
border-radius: 20px;
box-sizing: border-box; // Override content-box in normalize
// Override content-box in normalize
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
input[type="search"]:focus {
text-align: left;

Loading…
Cancel
Save