From 92b0870d69b4c39e5f4c18fcfdd798a424481dda Mon Sep 17 00:00:00 2001 From: isarra Date: Fri, 19 Oct 2012 07:32:46 +0100 Subject: [PATCH] (bug 40608) Width tweaks for consistency with surrounding elements Specifies textarea width of 100% for legacy skin support, and per suggestion by Daniel Friesen, adds a box-sizing specification to prevent the WikiEditor interface from overflowing from the bodyContent. Change-Id: I8b3369f584c636dfb03685c16f838ea94e6fc0fb --- modules/jquery.wikiEditor.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/jquery.wikiEditor.css b/modules/jquery.wikiEditor.css index 6df44565..d8e331cc 100644 --- a/modules/jquery.wikiEditor.css +++ b/modules/jquery.wikiEditor.css @@ -9,6 +9,12 @@ width: 100%; background-color: #E0EEf7; border: solid silver 1px; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} +.wikiEditor-ui textarea { + width: 100%; } .wikiEditor-ui textarea:focus { outline: none; @@ -109,4 +115,4 @@ background: url(images/toolbar/loading.gif) 0 0 no-repeat; text-indent: -9999px; margin: 0 auto; -} \ No newline at end of file +}