Skip to content

Commit

Permalink
remove package from unified search
Browse files Browse the repository at this point in the history
  • Loading branch information
mbondyra committed Nov 21, 2023
1 parent 2a7a0b7 commit f628e1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 51 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { calculateWidthFromCharCount } from '@kbn/calculate-width-from-char-coun
import React, { useState } from 'react';
import { EuiPopover, EuiPopoverTitle, EuiSelectableProps } from '@elastic/eui';
import { DataViewsList } from '@kbn/unified-search-plugin/public';
import { css } from '@emotion/react';
import { type IndexPatternRef } from '../../types';
import { type ChangeIndexPatternTriggerProps, TriggerButton } from './trigger';

Expand Down Expand Up @@ -54,9 +55,9 @@ export function ChangeIndexPattern({
ownFocus
>
<div
css={{
width: calculateWidthFromCharCount(maxLabelLength, { minWidth: 300, maxWidth: 600 }),
}}
css={css`
width: ${calculateWidthFromCharCount(maxLabelLength, { minWidth: 320, maxWidth: 600 })}px;
`}
>
<EuiPopoverTitle paddingSize="s">
{i18n.translate('xpack.lens.indexPattern.changeDataViewTitle', {
Expand Down

0 comments on commit f628e1f

Please sign in to comment.