summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohnAlbin2013-07-03 11:10:38 (GMT)
committer JohnAlbin2013-07-03 11:10:38 (GMT)
commit03871465145e6881a69cce041a57331ba0d95700 (patch)
tree09ea97f391cf87333e06ed82706855ec12651f2e
parent398f88ab4bb332781047c12b738120d4afa336f0 (diff)
Move "Keep form elements constrained in their containers" rule to normalize.
-rw-r--r--STARTERKIT/sass/_modular-styles.scss8
-rw-r--r--STARTERKIT/sass/_normalize.scss3
2 files changed, 3 insertions, 8 deletions
diff --git a/STARTERKIT/sass/_modular-styles.scss b/STARTERKIT/sass/_modular-styles.scss
index 266018b..ec0875a 100644
--- a/STARTERKIT/sass/_modular-styles.scss
+++ b/STARTERKIT/sass/_modular-styles.scss
@@ -634,14 +634,6 @@ a.button { /* Buttons used by contrib modules like Media */
text-align: left; /* LTR */
}
-/**
-* Keep form elements constrained in their containers.
-*/
-input {
- max-width: 100%;
- @include box-sizing(border-box);
-}
-
/*
* OpenID
*
diff --git a/STARTERKIT/sass/_normalize.scss b/STARTERKIT/sass/_normalize.scss
index 995a0f9..7a570bb 100644
--- a/STARTERKIT/sass/_normalize.scss
+++ b/STARTERKIT/sass/_normalize.scss
@@ -509,6 +509,7 @@ legend {
* 2. Correct font size not being inherited in all browsers.
* 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
* 4. Improve appearance and consistency with IE 6/7.
+ * 5. Keep form elements constrained in their containers.
*/
button,
@@ -522,6 +523,8 @@ textarea {
vertical-align: baseline; /* 4 */
*vertical-align: middle; /* 4 */
}
+ max-width: 100%; /* 5 */
+ @include box-sizing(border-box); /* 5 */
}
/**