File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
static/app/views/detectors/components/forms Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ function DetectSection() {
141
141
description = { t ( 'Sentry will check the following query:' ) }
142
142
>
143
143
< FirstRow >
144
- < DetectColumn style = { { maxWidth : 500 } } gap = { space ( 1 ) } >
144
+ < DetectColumn >
145
145
< VisualizeField
146
146
placeholder = { t ( 'Metric' ) }
147
147
flexibleControlStateSize
@@ -304,9 +304,9 @@ const FirstRow = styled('div')`
304
304
border-bottom: 1px solid ${ p => p . theme . border } ;
305
305
` ;
306
306
307
- const DetectColumn = styled ( Flex ) `
308
- flex-grow: 1 ;
309
- ` ;
307
+ function DetectColumn ( props : React . ComponentProps < typeof Flex > ) {
308
+ return < Flex flex = { 1 } gap = { space ( 1 ) } { ... props } /> ;
309
+ }
310
310
311
311
const StyledSelectField = styled ( SelectField ) `
312
312
width: 180px;
You can’t perform that action at this time.
0 commit comments