File tree Expand file tree Collapse file tree 1 file changed +31
-33
lines changed Expand file tree Collapse file tree 1 file changed +31
-33
lines changed Original file line number Diff line number Diff line change @@ -208,39 +208,37 @@ const DatabaseListHeader = ({ onAddInstance }: Props) => {
208
208
</ FlexItem >
209
209
) }
210
210
{ instances . length > 0 && (
211
- < >
212
- < FlexItem >
213
- < Row justify = "end" align = "center" gap = "s" >
214
- < FlexItem className = { styles . columnsButtonItem } >
215
- < EuiPopover
216
- ownFocus = { false }
217
- anchorPosition = "downLeft"
218
- isOpen = { columnsConfigShown }
219
- closePopover = { ( ) => setColumnsConfigShown ( false ) }
220
- data-testid = "columns-config-popover"
221
- button = {
222
- < EuiButton
223
- size = "m"
224
- color = "secondary"
225
- iconType = { ColumnsIcon }
226
- onClick = { toggleColumnsConfigVisibility }
227
- className = { styles . columnsButton }
228
- data-testid = "btn-columns-config"
229
- aria-label = "columns"
230
- >
231
- < span > Columns</ span >
232
- </ EuiButton >
233
- }
234
- >
235
- { columnCheckboxes }
236
- </ EuiPopover >
237
- </ FlexItem >
238
- < FlexItem >
239
- < SearchDatabasesList />
240
- </ FlexItem >
241
- </ Row >
242
- </ FlexItem >
243
- </ >
211
+ < FlexItem grow >
212
+ < Row justify = "end" align = "center" gap = "s" >
213
+ < FlexItem className = { styles . columnsButtonItem } >
214
+ < EuiPopover
215
+ ownFocus = { false }
216
+ anchorPosition = "downLeft"
217
+ isOpen = { columnsConfigShown }
218
+ closePopover = { ( ) => setColumnsConfigShown ( false ) }
219
+ data-testid = "columns-config-popover"
220
+ button = {
221
+ < EuiButton
222
+ size = "m"
223
+ color = "secondary"
224
+ iconType = { ColumnsIcon }
225
+ onClick = { toggleColumnsConfigVisibility }
226
+ className = { styles . columnsButton }
227
+ data-testid = "btn-columns-config"
228
+ aria-label = "columns"
229
+ >
230
+ < span > Columns</ span >
231
+ </ EuiButton >
232
+ }
233
+ >
234
+ { columnCheckboxes }
235
+ </ EuiPopover >
236
+ </ FlexItem >
237
+ < FlexItem >
238
+ < SearchDatabasesList />
239
+ </ FlexItem >
240
+ </ Row >
241
+ </ FlexItem >
244
242
) }
245
243
</ Row >
246
244
< Spacer className = { styles . spacerDl } />
You can’t perform that action at this time.
0 commit comments