Skip to content

Commit

Permalink
make button tabble
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzad31 committed Feb 23, 2021
1 parent 206566f commit 5238f2f
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import React, { useEffect, useState } from 'react';
import {
EuiIcon,
EuiPopover,
EuiFormRow,
EuiSwitch,
Expand All @@ -16,6 +15,7 @@ import {
EuiText,
EuiSpacer,
EuiLink,
EuiButtonIcon,
} from '@elastic/eui';
import { FormattedMessage } from '@kbn/i18n/react';
import { i18n } from '@kbn/i18n';
Expand All @@ -28,7 +28,7 @@ import {
SYNTAX_OPTIONS_LABEL,
} from '../translations';

const BoxesVerticalIcon = euiStyled(EuiIcon)`
const BoxesVerticalIcon = euiStyled(EuiButtonIcon)`
padding: 10px 8px 0 8px;
border-radius: 0;
height: 38px;
Expand Down Expand Up @@ -80,7 +80,8 @@ export const SearchType = ({ kqlSyntax, setKqlSyntax }: Props) => {
</EuiButtonEmpty>
) : (
<BoxesVerticalIcon
type="boxesVertical"
color="text"
iconType="boxesVertical"
onClick={onButtonClick}
data-test-subj="syntaxChangeToKql"
aria-label={CHANGE_SEARCH_BAR_SYNTAX}
Expand Down

0 comments on commit 5238f2f

Please sign in to comment.