Skip to content

Commit

Permalink
Increase the height of the indices container in playground
Browse files Browse the repository at this point in the history
  • Loading branch information
saikatsarkar056 committed Mar 3, 2025
1 parent 84d588e commit 8099763
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import {
} from '@elastic/eui';
import { FormattedMessage } from '@kbn/i18n-react';
import { i18n } from '@kbn/i18n';
import { css } from '@emotion/react';
import { EuiSelectableOption } from '@elastic/eui/src/components/selectable/selectable_option';
import { getIndicesWithNoSourceFields } from '../utils/create_query';
import { useIndicesFields } from '../hooks/use_indices_fields';
Expand Down Expand Up @@ -62,7 +63,7 @@ export const SelectIndicesFlyout: React.FC<SelectIndicesFlyout> = ({ onClose })
<EuiSpacer />
<EuiSelectable
searchable
height={650}
height="full"
searchProps={{
onChange: handleSearchChange,
}}
Expand Down Expand Up @@ -92,6 +93,9 @@ export const SelectIndicesFlyout: React.FC<SelectIndicesFlyout> = ({ onClose })
}}
isLoading={isIndicesLoading}
renderOption={undefined}
css={css`
height: calc(100vh - var(--euiFixedHeadersOffset, 0));
`}
>
{(list, search) => (
<>
Expand Down

0 comments on commit 8099763

Please sign in to comment.