01tonythomas has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/103395


Change subject: Resized the Text are fields in ReplaceText
......................................................................

Resized the Text are fields in ReplaceText

The fields were oversized, so reduced it to 100 columns by 15 rows
to look neat.

Follow up of Bug: 32894

Change-Id: Iecbd7b74d134e1d03dc7507a28b90710f3a4ec4a
---
M SpecialReplaceText.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/ReplaceText 
refs/changes/95/103395/1

diff --git a/SpecialReplaceText.php b/SpecialReplaceText.php
index b61e32b..2cc64ff 100644
--- a/SpecialReplaceText.php
+++ b/SpecialReplaceText.php
@@ -275,11 +275,11 @@
                // 'width: auto' style is needed to override MediaWiki's
                // normal 'width: 100%', which causes the textarea to get
                // zero width in IE
-               $out->addHTML( Xml::textarea( 'target', $this->target, 125, 25, 
array( 'style' => 'width: auto;' ) ) );
+               $out->addHTML( Xml::textarea( 'target', $this->target, 100, 15, 
array( 'style' => 'width: auto;' ) ) );
                $out->addHTML( '</td></tr><tr><td style="vertical-align: 
top;">' );
                $out->addWikiMsg( 'replacetext_replacementtext' );
                $out->addHTML( '</td><td>' );
-               $out->addHTML( Xml::textarea( 'replacement', 
$this->replacement, 125, 25, array( 'style' => 'width: auto;' ) ) );
+               $out->addHTML( Xml::textarea( 'replacement', 
$this->replacement, 100, 15, array( 'style' => 'width: auto;' ) ) );
                $out->addHTML( '</td></tr></table>' );
                $out->addHTML( Xml::tags( 'p', null,
                                Xml::checkLabel(

-- 
To view, visit https://gerrit.wikimedia.org/r/103395
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iecbd7b74d134e1d03dc7507a28b90710f3a4ec4a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/ReplaceText
Gerrit-Branch: master
Gerrit-Owner: 01tonythomas <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to