diff --git a/frontend/src/metabase/query_builder/components/expressions/ExpressionEditorTextfield.jsx b/frontend/src/metabase/query_builder/components/expressions/ExpressionEditorTextfield.jsx index 9b9498fbd4380365975fe5f2511133b425eb7de1..659b4a032c58e2e8b31c40967d504fcbc09094fe 100644 --- a/frontend/src/metabase/query_builder/components/expressions/ExpressionEditorTextfield.jsx +++ b/frontend/src/metabase/query_builder/components/expressions/ExpressionEditorTextfield.jsx @@ -365,7 +365,7 @@ export default class ExpressionEditorTextfield extends React.Component { className={cx(inputClassName, { "border-error": compileError, })} - style={{ ...inputStyle, paddingLeft: 26 }} + style={{ ...inputStyle, paddingLeft: 26, whiteSpace: "pre-wrap" }} placeholder={placeholder} value={source} syntaxTree={syntaxTree}