(bug 40610) Prevent editing textarea from overflowing out of bodyContent
authorisarra <zhorishna@gmail.com>
Fri, 19 Oct 2012 06:49:36 +0000 (07:49 +0100)
committerDaniel Friesen <daniel@nadir-seen-fire.com>
Tue, 23 Oct 2012 23:14:48 +0000 (16:14 -0700)
Per suggestion by Daniel Friesen, this change adds a box-sizing specification to prevent
the editing textarea from overflowing from the bodyContent in vector, monobook, and modern skins.

Change-Id: I42f42654d87e8a14ff478b4670e3642ae083c81d

skins/common/commonContent.css
skins/modern/main.css

index 20182b4..a550d97 100644 (file)
@@ -112,6 +112,16 @@ img.thumbborder {
        border: 1px solid #dddddd;
 }
 
+/**
+ * Edit forms
+ */
+#editform textarea {
+       display: block;
+       -moz-box-sizing: border-box;
+       -webkit-box-sizing: border-box;
+       box-sizing: border-box;
+}
+
 /**
  * Basic styles for the user login and create account forms
  */
index 7149551..80cdcda 100644 (file)
@@ -150,6 +150,11 @@ textarea {
        width: 100%;
        padding: .1em;
 }
+#editform textarea {
+       -moz-box-sizing: border-box;
+       -webkit-box-sizing: border-box;
+       box-sizing: border-box;
+}
 
 #searchBody {
        text-align: center;