diff --git a/main/webapp/modules/core/scripts/dialogs/expression-preview-dialog.js b/main/webapp/modules/core/scripts/dialogs/expression-preview-dialog.js index 7618ef0f7..0d053e3f2 100644 --- a/main/webapp/modules/core/scripts/dialogs/expression-preview-dialog.js +++ b/main/webapp/modules/core/scripts/dialogs/expression-preview-dialog.js @@ -36,8 +36,7 @@ function ExpressionPreviewDialog(title, cellIndex, rowIndices, values, expressio var self = this; var frame = DialogSystem.createDialog(); - frame.width("700px"); - + frame.css("min-width", "700px") var header = $('
').addClass("dialog-header").text(title).appendTo(frame); var body = $('
').addClass("dialog-body").appendTo(frame); var footer = $('
').addClass("dialog-footer").appendTo(frame); @@ -133,8 +132,6 @@ ExpressionPreviewDialog.Widget = function( }) .select() .focus(); - - this._tabContentWidth = this._elmts.expressionPreviewPreviewContainer.width() + "px"; this._elmts.or_dialog_expr.html($.i18n('core-dialogs/expression')); this._elmts.or_dialog_lang.html($.i18n('core-dialogs/language')); @@ -186,8 +183,7 @@ ExpressionPreviewDialog.Widget.prototype._renderHelpTab = function() { }; ExpressionPreviewDialog.Widget.prototype._renderHelp = function(data) { - var elmt = this._elmts.expressionPreviewHelpTabBody.empty().width(this._tabContentWidth); - + var elmt = this._elmts.expressionPreviewHelpTabBody.empty(); $('

').text("Variables").appendTo(elmt); var varTable = $('
').appendTo(elmt)[0]; var vars = [ @@ -269,7 +265,7 @@ ExpressionPreviewDialog.Widget.prototype._renderExpressionHistoryTab = function( ExpressionPreviewDialog.Widget.prototype._renderExpressionHistory = function(data) { var self = this; - var elmt = this._elmts.expressionPreviewHistoryContainer.empty().width(this._tabContentWidth); + var elmt = this._elmts.expressionPreviewHistoryContainer.empty(); var table = $( '' + @@ -337,7 +333,7 @@ ExpressionPreviewDialog.Widget.prototype._renderStarredExpressionsTab = function ExpressionPreviewDialog.Widget.prototype._renderStarredExpressions = function(data) { var self = this; - var elmt = this._elmts.expressionPreviewStarredContainer.empty().width(this._tabContentWidth); + var elmt = this._elmts.expressionPreviewStarredContainer.empty(); var table = $( '
' + @@ -436,7 +432,7 @@ ExpressionPreviewDialog.Widget.prototype._prepareUpdate = function(params) { }; ExpressionPreviewDialog.Widget.prototype._renderPreview = function(expression, data) { - var container = this._elmts.expressionPreviewPreviewContainer.empty().width(this._tabContentWidth); + var container = this._elmts.expressionPreviewPreviewContainer.empty(); var table = $('
').appendTo( $('
').addClass("expression-preview-table-wrapper").appendTo(container))[0]; diff --git a/main/webapp/modules/core/scripts/dialogs/extend-data-preview-dialog.js b/main/webapp/modules/core/scripts/dialogs/extend-data-preview-dialog.js index cb1867a43..8f760b24a 100644 --- a/main/webapp/modules/core/scripts/dialogs/extend-data-preview-dialog.js +++ b/main/webapp/modules/core/scripts/dialogs/extend-data-preview-dialog.js @@ -323,7 +323,6 @@ ExtendReconciledDataPreviewDialog.prototype._constrainProperty = function(id) { var property = this._findProperty(id); var frame = DialogSystem.createDialog(); - frame.width("500px"); var header = $('
').addClass("dialog-header").text("Settings for " + id).appendTo(frame); var body = $('
').addClass("dialog-body").appendTo(frame); diff --git a/main/webapp/modules/core/scripts/dialogs/sql-exporter-dialog.html b/main/webapp/modules/core/scripts/dialogs/sql-exporter-dialog.html index 37c20803f..7ebece3ef 100755 --- a/main/webapp/modules/core/scripts/dialogs/sql-exporter-dialog.html +++ b/main/webapp/modules/core/scripts/dialogs/sql-exporter-dialog.html @@ -1,4 +1,4 @@ -
+
diff --git a/main/webapp/modules/core/scripts/dialogs/templating-exporter-dialog.html b/main/webapp/modules/core/scripts/dialogs/templating-exporter-dialog.html index 42514f346..655be0eed 100644 --- a/main/webapp/modules/core/scripts/dialogs/templating-exporter-dialog.html +++ b/main/webapp/modules/core/scripts/dialogs/templating-exporter-dialog.html @@ -1,4 +1,4 @@ -
+
diff --git a/main/webapp/modules/core/scripts/views/data-table/add-column-by-fetching-urls-dialog.html b/main/webapp/modules/core/scripts/views/data-table/add-column-by-fetching-urls-dialog.html index 5ee43fdaa..d6e8ff234 100644 --- a/main/webapp/modules/core/scripts/views/data-table/add-column-by-fetching-urls-dialog.html +++ b/main/webapp/modules/core/scripts/views/data-table/add-column-by-fetching-urls-dialog.html @@ -1,8 +1,8 @@ -
+
-
+
diff --git a/main/webapp/modules/core/scripts/views/data-table/add-column-dialog.html b/main/webapp/modules/core/scripts/views/data-table/add-column-dialog.html index 5dddbc06f..d99f1aaa3 100644 --- a/main/webapp/modules/core/scripts/views/data-table/add-column-dialog.html +++ b/main/webapp/modules/core/scripts/views/data-table/add-column-dialog.html @@ -1,8 +1,8 @@ -
+
-
+
diff --git a/main/webapp/modules/core/scripts/views/data-table/split-column-dialog.html b/main/webapp/modules/core/scripts/views/data-table/split-column-dialog.html index beccb99ef..cdcaaf7b6 100644 --- a/main/webapp/modules/core/scripts/views/data-table/split-column-dialog.html +++ b/main/webapp/modules/core/scripts/views/data-table/split-column-dialog.html @@ -1,4 +1,4 @@ -
+
diff --git a/main/webapp/modules/core/scripts/views/data-table/split-multi-valued-cells-dialog.html b/main/webapp/modules/core/scripts/views/data-table/split-multi-valued-cells-dialog.html index c081ac679..72942f18a 100644 --- a/main/webapp/modules/core/scripts/views/data-table/split-multi-valued-cells-dialog.html +++ b/main/webapp/modules/core/scripts/views/data-table/split-multi-valued-cells-dialog.html @@ -1,4 +1,4 @@ -
+
diff --git a/main/webapp/modules/core/scripts/views/data-table/text-transform-dialog.html b/main/webapp/modules/core/scripts/views/data-table/text-transform-dialog.html index 2123f0335..84b45f39b 100644 --- a/main/webapp/modules/core/scripts/views/data-table/text-transform-dialog.html +++ b/main/webapp/modules/core/scripts/views/data-table/text-transform-dialog.html @@ -1,4 +1,4 @@ -
+
diff --git a/main/webapp/modules/core/scripts/views/data-table/transpose-columns-into-rows.html b/main/webapp/modules/core/scripts/views/data-table/transpose-columns-into-rows.html index 9959784a2..1f455e107 100644 --- a/main/webapp/modules/core/scripts/views/data-table/transpose-columns-into-rows.html +++ b/main/webapp/modules/core/scripts/views/data-table/transpose-columns-into-rows.html @@ -1,4 +1,4 @@ -
+
diff --git a/main/webapp/modules/core/styles/common.less b/main/webapp/modules/core/styles/common.less index d3a7ce8e4..3cfe16b8a 100644 --- a/main/webapp/modules/core/styles/common.less +++ b/main/webapp/modules/core/styles/common.less @@ -389,7 +389,7 @@ div.input-container { } div.input-container > input, div.input-container > textarea { - display: block; + display: inline-block; width: 100%; padding: 2px; border: 1px inset; diff --git a/main/webapp/modules/core/styles/dialogs/expression-preview-dialog.less b/main/webapp/modules/core/styles/dialogs/expression-preview-dialog.less index 61469ca2d..40e27f746 100644 --- a/main/webapp/modules/core/styles/dialogs/expression-preview-dialog.less +++ b/main/webapp/modules/core/styles/dialogs/expression-preview-dialog.less @@ -75,6 +75,7 @@ textarea.expression-preview-code { .expression-preview-table-wrapper { padding: @padding_normal; + width: 100%; } .expression-preview-container td { @@ -116,5 +117,9 @@ td.expression-preview-value { } .expression-preview-doc-item-desc { + max-width: 250px; + white-space: pre-wrap; + overflow-x: hidden; color: #666; - } + +} diff --git a/main/webapp/modules/core/styles/util/dialog.less b/main/webapp/modules/core/styles/util/dialog.less index 08d8f97b3..0c7368d56 100644 --- a/main/webapp/modules/core/styles/util/dialog.less +++ b/main/webapp/modules/core/styles/util/dialog.less @@ -55,6 +55,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. text-align: left; background: white; border: 1px solid @dialog_frame; + display: inline-block; } .dialog-border {