jsdialog: fix textarea position in mobile-wizard

Change-Id: Idc77992b477acd790cf4d4bffe2589c530b4cb09
Signed-off-by: Szymon Kłos <szymon.klos@collabora.com>
This commit is contained in:
Szymon Kłos 2020-12-17 10:29:15 +01:00 committed by pedropintosilva
parent ebdc5c07b6
commit 2bdf5e4840
2 changed files with 3 additions and 2 deletions

View file

@ -904,7 +904,8 @@ input[type='checkbox'][disabled] {
width: -webkit-fill-available !important;
}
.ui-edit.mobile-wizard {
.ui-edit.mobile-wizard,
.ui-textarea.mobile-wizard {
/*
, textarea was also here assign but it was messing up with all textareas (annotations on desktop and vex on mobile):
- added 93038: jsdialog: style dialogs; a5016d547c6242f6f9b28748b5724b0bc10cdb67

View file

@ -1416,7 +1416,7 @@ L.Control.JSDialogBuilder = L.Control.extend({
if (data.cursor && (data.cursor === 'false' || data.cursor === false))
controlType = 'p';
var edit = L.DomUtil.create(controlType, '', parentContainer);
var edit = L.DomUtil.create(controlType, 'ui-textarea ' + builder.options.cssClass, parentContainer);
if (controlType === 'textarea')
edit.value = builder._cleanText(data.text);