Skip to content

Commit

Permalink
Merge branch 'main' into fix/create-assets
Browse files Browse the repository at this point in the history
  • Loading branch information
TackAdam authored Aug 28, 2024
2 parents f67348d + 428cc98 commit c7c5cd7
Show file tree
Hide file tree
Showing 7 changed files with 1,564 additions and 1,540 deletions.
11 changes: 9 additions & 2 deletions public/components/common/search/search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -222,12 +222,14 @@ export const Search = (props: any) => {

const languagePopOverItems = [
<EuiContextMenuItem
size="s"
key={QUERY_LANGUAGE.SQL}
onClick={() => handleQueryLanguageChange(QUERY_LANGUAGE.PPL)}
>
PPL
</EuiContextMenuItem>,
<EuiContextMenuItem
size="s"
key={QUERY_LANGUAGE.PPL}
onClick={() => handleQueryLanguageChange(QUERY_LANGUAGE.DQL)}
>
Expand Down Expand Up @@ -323,7 +325,12 @@ export const Search = (props: any) => {
};

const languagePopOverButton = (
<EuiSmallButton iconType="arrowDown" iconSide="right" onClick={onLanguagePopoverClick} color="text">
<EuiSmallButton
iconType="arrowDown"
iconSide="right"
onClick={onLanguagePopoverClick}
color="text"
>
{queryLang}
</EuiSmallButton>
);
Expand Down Expand Up @@ -357,7 +364,7 @@ export const Search = (props: any) => {
panelPaddingSize="none"
anchorPosition="downLeft"
>
<EuiContextMenuPanel size="m" items={languagePopOverItems} />
<EuiContextMenuPanel size="s" items={languagePopOverItems} />
</EuiPopover>
</EuiFlexItem>
<EuiFlexItem grow={false}>
Expand Down
Loading

0 comments on commit c7c5cd7

Please sign in to comment.