[8.6] [Unified search] Fixes the quick adhoc button styling (#146306) (#146381)

# Backport

This will backport the following commits from `main` to `8.6`:
- [[Unified search] Fixes the quick adhoc button styling
(#146306)](https://github.com/elastic/kibana/pull/146306)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Stratoula
Kalafateli","email":"efstratia.kalafateli@elastic.co"},"sourceCommit":{"committedDate":"2022-11-28T12:07:46Z","message":"[Unified
search] Fixes the quick adhoc button styling (#146306)\n\n##
Summary\r\n\r\nAs described
[here](https://github.com/elastic/kibana/issues/146302) the\r\nstyles of
this button were not applied because there was a wrong import\r\nfor the
css helper.\r\n\r\n<img width=\"310\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/17003240/203821339-982ba382-1035-40f2-bde5-f311686dbb7f.png\">","sha":"975f37dbee0b37bd5cab5b9b123c0f6348c14366","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Visualizations","release_note:skip","Feature:Unified
search","backport:prev-minor","v8.7.0"],"number":146306,"url":"https://github.com/elastic/kibana/pull/146306","mergeCommit":{"message":"[Unified
search] Fixes the quick adhoc button styling (#146306)\n\n##
Summary\r\n\r\nAs described
[here](https://github.com/elastic/kibana/issues/146302) the\r\nstyles of
this button were not applied because there was a wrong import\r\nfor the
css helper.\r\n\r\n<img width=\"310\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/17003240/203821339-982ba382-1035-40f2-bde5-f311686dbb7f.png\">","sha":"975f37dbee0b37bd5cab5b9b123c0f6348c14366"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/146306","number":146306,"mergeCommit":{"message":"[Unified
search] Fixes the quick adhoc button styling (#146306)\n\n##
Summary\r\n\r\nAs described
[here](https://github.com/elastic/kibana/issues/146302) the\r\nstyles of
this button were not applied because there was a wrong import\r\nfor the
css helper.\r\n\r\n<img width=\"310\"
alt=\"image\"\r\nsrc=\"https://user-images.githubusercontent.com/17003240/203821339-982ba382-1035-40f2-bde5-f311686dbb7f.png\">","sha":"975f37dbee0b37bd5cab5b9b123c0f6348c14366"}}]}]
BACKPORT-->

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
This commit is contained in:
Kibana Machine 2022-11-28 08:15:45 -05:00 committed by GitHub
parent 3a04b73aa1
commit 2499d5589a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@
import React from 'react';
import { EuiButton, EuiFlexGroup, EuiFlexItem, EuiSpacer, useEuiTheme } from '@elastic/eui';
import { css } from '@emotion/css';
import { css } from '@emotion/react';
import { i18n } from '@kbn/i18n';
interface ExploreMatchingButtonProps {