Skip to content

Commit 1e00a04

Browse files
[Playground] Increase the height of the indices container (elastic#212827)
This PR increase the height of the container for indices in the playground https://github.com/user-attachments/assets/0fbacb11-ce8e-4566-b07e-b6058de89af0
1 parent 80c142a commit 1e00a04

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

x-pack/solutions/search/plugins/search_playground/public/components/select_indices_flyout.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ import {
2323
} from '@elastic/eui';
2424
import { FormattedMessage } from '@kbn/i18n-react';
2525
import { i18n } from '@kbn/i18n';
26+
import { css } from '@emotion/react';
2627
import { EuiSelectableOption } from '@elastic/eui/src/components/selectable/selectable_option';
2728
import { getIndicesWithNoSourceFields } from '../utils/create_query';
2829
import { useIndicesFields } from '../hooks/use_indices_fields';
@@ -62,6 +63,10 @@ export const SelectIndicesFlyout: React.FC<SelectIndicesFlyout> = ({ onClose })
6263
<EuiSpacer />
6364
<EuiSelectable
6465
searchable
66+
height="full"
67+
css={css`
68+
height: 70vh;
69+
`}
6570
searchProps={{
6671
onChange: handleSearchChange,
6772
}}

x-pack/solutions/search/plugins/search_playground/public/hooks/use_query_indices.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const useQueryIndices = (
3131
query: {
3232
search_query: query,
3333
exact,
34-
size: 50,
34+
size: 100,
3535
},
3636
});
3737

0 commit comments

Comments
 (0)