Skip to content

Commit

Permalink
[Unified search] Align try ESQL Button to left (elastic#172143)
Browse files Browse the repository at this point in the history
## Summary
before:
<img width="571" alt="Screenshot 2023-11-29 at 11 59 37"
src="https://github.com/elastic/kibana/assets/4283304/b14907a7-1541-4373-9abc-2d6847315ffd">
after:
<img width="592" alt="Screenshot 2023-11-29 at 12 01 15"
src="https://github.com/elastic/kibana/assets/4283304/380cb18b-c529-413b-b14e-c83dd9343d2e">
  • Loading branch information
mbondyra authored Nov 29, 2023
1 parent 37d5aca commit 19d9184
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -340,11 +340,21 @@ export function ChangeDataView({
<EuiHorizontalRule margin="none" key="textbasedLanguages-divider" />,
<EuiPanel color="transparent" paddingSize="none" key="try-esql">
<EuiButton
css={css`
border-top-right-radius: unset;
border-top-left-radius: unset;
`}
color="success"
size="s"
fullWidth
onClick={() => onTextBasedSubmit({ esql: `from ${trigger.title} | limit 10` })}
data-test-subj="select-text-based-language-panel"
contentProps={{
css: {
justifyContent: 'flex-start',
paddingLeft: '26px',
},
}}
>
{i18n.translate('unifiedSearch.query.queryBar.textBasedLanguagesTryLabel', {
defaultMessage: 'Try ES|QL',
Expand Down

0 comments on commit 19d9184

Please sign in to comment.