Skip to content

Commit 5238f2f

Browse files
committed
make button tabble
1 parent 206566f commit 5238f2f

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

  • x-pack/plugins/uptime/public/components/overview/kuery_bar/typeahead/search_type

x-pack/plugins/uptime/public/components/overview/kuery_bar/typeahead/search_type/search_type.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
import React, { useEffect, useState } from 'react';
99
import {
10-
EuiIcon,
1110
EuiPopover,
1211
EuiFormRow,
1312
EuiSwitch,
@@ -16,6 +15,7 @@ import {
1615
EuiText,
1716
EuiSpacer,
1817
EuiLink,
18+
EuiButtonIcon,
1919
} from '@elastic/eui';
2020
import { FormattedMessage } from '@kbn/i18n/react';
2121
import { i18n } from '@kbn/i18n';
@@ -28,7 +28,7 @@ import {
2828
SYNTAX_OPTIONS_LABEL,
2929
} from '../translations';
3030

31-
const BoxesVerticalIcon = euiStyled(EuiIcon)`
31+
const BoxesVerticalIcon = euiStyled(EuiButtonIcon)`
3232
padding: 10px 8px 0 8px;
3333
border-radius: 0;
3434
height: 38px;
@@ -80,7 +80,8 @@ export const SearchType = ({ kqlSyntax, setKqlSyntax }: Props) => {
8080
</EuiButtonEmpty>
8181
) : (
8282
<BoxesVerticalIcon
83-
type="boxesVertical"
83+
color="text"
84+
iconType="boxesVertical"
8485
onClick={onButtonClick}
8586
data-test-subj="syntaxChangeToKql"
8687
aria-label={CHANGE_SEARCH_BAR_SYNTAX}

0 commit comments

Comments
 (0)