summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwebchick2013-02-28 02:40:29 (GMT)
committerwebchick2013-02-28 02:40:29 (GMT)
commit977481098201f2589a034a537a722e8dd1e6df71 (patch)
treec2303e5fdb8ec9b0607ef0e5589a4d7b12d8126f
parented5f637828cf8ddbb9a698684b133b52bd555b6b (diff)
Issue #1880368 by stephen.colson, echoz, babbage: More comprehensive fix for form elements can break out of their bounding divs and whatnot.
-rw-r--r--core/modules/system/system.base.css14
1 files changed, 11 insertions, 3 deletions
diff --git a/core/modules/system/system.base.css b/core/modules/system/system.base.css
index 11c9b41..5bbde17 100644
--- a/core/modules/system/system.base.css
+++ b/core/modules/system/system.base.css
@@ -27,9 +27,7 @@
cursor: default;
white-space: pre;
}
-input.form-autocomplete {
- max-width: 100%;
-}
+
/* Animated throbber */
.js input.form-autocomplete {
background-image: url(../../misc/throbber.gif);
@@ -177,6 +175,16 @@ tr .ajax-progress-throbber .throbber {
}
/**
+ * Keep form elements from overflowing their containers.
+ */
+input {
+ max-width: 100%;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ box-sizing: border-box;
+}
+
+/**
* Inline items.
*/
.container-inline div,