From 855d07a389b057d6e84e152035a242e84a526ce6 Mon Sep 17 00:00:00 2001 From: Howon Lee <hlee.howon@gmail.com> Date: Fri, 2 Apr 2021 09:04:52 -0700 Subject: [PATCH] flambers thing is a much better idea (#15428) --- .../components/expressions/ExpressionEditorTextfield.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/metabase/query_builder/components/expressions/ExpressionEditorTextfield.jsx b/frontend/src/metabase/query_builder/components/expressions/ExpressionEditorTextfield.jsx index 9b9498fbd43..659b4a032c5 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} -- GitLab