@@ -57,13 +57,17 @@ export const ExperimentalEditor = ({ query, onChange, onRunQuery, editorContext
57
57
58
58
return (
59
59
< >
60
- < InfoBox severity = "warning" >
61
- { `The features listed here are experimental. They might change or be removed without notice. In the tooltip for each feature, there's a link to a pull request where you can submit feedback for that feature.` }
60
+ < InfoBox severity = "warning" style = { { maxWidth : '700px' , whiteSpace : 'normal' } } >
61
+ < p >
62
+ The features listed here are experimental. They might change or be removed without notice. In the tooltip for
63
+ each feature, there's a link to a pull request where you can submit feedback for that feature.
64
+ </ p >
62
65
</ InfoBox >
63
66
{ editorContext === 'default' && (
64
67
< >
65
68
< InlineFieldRow >
66
69
< InlineField
70
+ labelWidth = { 12 }
67
71
label = "Group by"
68
72
tooltip = {
69
73
< >
@@ -84,7 +88,7 @@ export const ExperimentalEditor = ({ query, onChange, onRunQuery, editorContext
84
88
>
85
89
< Select
86
90
placeholder = { 'Field' }
87
- width = { 12 }
91
+ width = { 20 }
88
92
isClearable = { true }
89
93
value = { fieldNames . find ( ( v ) => v . value === groupByField ) }
90
94
options = { fieldNames }
@@ -94,6 +98,7 @@ export const ExperimentalEditor = ({ query, onChange, onRunQuery, editorContext
94
98
</ InlineFieldRow >
95
99
< InlineFieldRow >
96
100
< InlineField
101
+ labelWidth = { 12 }
97
102
label = "Metric"
98
103
tooltip = {
99
104
< >
@@ -110,7 +115,7 @@ export const ExperimentalEditor = ({ query, onChange, onRunQuery, editorContext
110
115
>
111
116
< Select
112
117
placeholder = { 'Field' }
113
- width = { 12 }
118
+ width = { 20 }
114
119
isClearable = { true }
115
120
value = { fieldNames . find ( ( v ) => v . value === metricField ) }
116
121
options = { fieldNames }
@@ -124,6 +129,7 @@ export const ExperimentalEditor = ({ query, onChange, onRunQuery, editorContext
124
129
< >
125
130
< InlineFieldRow >
126
131
< InlineField
132
+ labelWidth = { 15 }
127
133
label = "Variable text"
128
134
tooltip = {
129
135
< >
@@ -140,7 +146,7 @@ export const ExperimentalEditor = ({ query, onChange, onRunQuery, editorContext
140
146
>
141
147
< Select
142
148
placeholder = { 'Field' }
143
- width = { 12 }
149
+ width = { 20 }
144
150
isClearable = { true }
145
151
value = { fieldNames . find ( ( v ) => v . value === variableTextField ) }
146
152
options = { fieldNames }
@@ -150,6 +156,7 @@ export const ExperimentalEditor = ({ query, onChange, onRunQuery, editorContext
150
156
</ InlineFieldRow >
151
157
< InlineFieldRow >
152
158
< InlineField
159
+ labelWidth = { 15 }
153
160
label = "Variable value"
154
161
tooltip = {
155
162
< >
@@ -166,7 +173,7 @@ export const ExperimentalEditor = ({ query, onChange, onRunQuery, editorContext
166
173
>
167
174
< Select
168
175
placeholder = { 'Field' }
169
- width = { 12 }
176
+ width = { 20 }
170
177
isClearable = { true }
171
178
value = { fieldNames . find ( ( v ) => v . value === variableValueField ) }
172
179
options = { fieldNames }
0 commit comments