File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
static/app/views/explore/tables Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ function GroupBySelector({
236
236
) ;
237
237
238
238
return (
239
- < StyledCompactSelect
239
+ < SingleWidthCompactSelect
240
240
data-test-id = "editor-groupby"
241
241
options = { options }
242
242
triggerLabel = { label }
@@ -307,7 +307,7 @@ function VisualizeSelector({
307
307
308
308
return (
309
309
< Fragment >
310
- < StyledCompactSelect
310
+ < SingleWidthCompactSelect
311
311
data-test-id = "editor-visualize-function"
312
312
options = { aggregateOptions }
313
313
value = { parsedFunction ?. name }
@@ -320,7 +320,7 @@ function VisualizeSelector({
320
320
} ,
321
321
} }
322
322
/>
323
- < StyledCompactSelect
323
+ < DoubleWidthCompactSelect
324
324
data-test-id = "editor-visualize-argument"
325
325
options = { argumentOptions }
326
326
value = { parsedFunction ?. arguments [ 0 ] ?? '' }
@@ -353,8 +353,13 @@ const StyledButton = styled(Button)`
353
353
padding-right: 0;
354
354
` ;
355
355
356
- const StyledCompactSelect = styled ( CompactSelect ) `
357
- flex-grow: 1;
356
+ const SingleWidthCompactSelect = styled ( CompactSelect ) `
357
+ flex: 1;
358
+ min-width: 0;
359
+ ` ;
360
+
361
+ const DoubleWidthCompactSelect = styled ( CompactSelect ) `
362
+ flex: 2;
358
363
min-width: 0;
359
364
` ;
360
365
You can’t perform that action at this time.
0 commit comments