jenkins-bot has submitted this change and it was merged.

Change subject: Disable user resize of translation textareas
......................................................................


Disable user resize of translation textareas

The horizontal resize which is currently allowed, makes no sense
and triggers multiple annoying browser bugs.

The vertical resize which is also currently allowed, makes no sense
because the height will be reset by the autosize plugin.

This leaves the option of disabling autosize completely and leaving
the control for the user. Given the somewhat complex interactions
with insertables, I am inclined to just disable user resize instead.

Bug: T50817
Change-Id: I0fe5b4ec545f446fa5fb715d6c5114913ac43863
---
M resources/css/ext.translate.editor.css
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Santhosh: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/resources/css/ext.translate.editor.css 
b/resources/css/ext.translate.editor.css
index 77f42d5..3811811 100644
--- a/resources/css/ext.translate.editor.css
+++ b/resources/css/ext.translate.editor.css
@@ -54,6 +54,8 @@
        overflow-y: auto;
        position: relative;
        z-index: 100;
+       /* We have automatic resizing for height, and horizontal makes no sense 
*/
+       resize: none;
 }
 
 .tux-message-editor .editarea {

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0fe5b4ec545f446fa5fb715d6c5114913ac43863
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: master
Gerrit-Owner: Nikerabbit <[email protected]>
Gerrit-Reviewer: Amire80 <[email protected]>
Gerrit-Reviewer: Rillke <[email protected]>
Gerrit-Reviewer: Santhosh <[email protected]>
Gerrit-Reviewer: Siebrand <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to