mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Convert EuiCards to non-shadowed defaults to avoid nested panel/shadows (#102680)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
6f2a97b0e8
commit
ceaf9f6242
1 changed files with 4 additions and 0 deletions
|
@ -60,6 +60,7 @@ export const DocumentCreationButtons: React.FC<Props> = ({ disabled = false }) =
|
|||
<EuiFlexGrid columns={2}>
|
||||
<EuiFlexItem>
|
||||
<EuiCard
|
||||
display="subdued"
|
||||
title={i18n.translate(
|
||||
'xpack.enterpriseSearch.appSearch.documentCreation.buttons.text',
|
||||
{ defaultMessage: 'Paste JSON' }
|
||||
|
@ -73,6 +74,7 @@ export const DocumentCreationButtons: React.FC<Props> = ({ disabled = false }) =
|
|||
</EuiFlexItem>
|
||||
<EuiFlexItem>
|
||||
<EuiCard
|
||||
display="subdued"
|
||||
title={i18n.translate(
|
||||
'xpack.enterpriseSearch.appSearch.documentCreation.buttons.file',
|
||||
{ defaultMessage: 'Upload a JSON file' }
|
||||
|
@ -85,6 +87,7 @@ export const DocumentCreationButtons: React.FC<Props> = ({ disabled = false }) =
|
|||
</EuiFlexItem>
|
||||
<EuiFlexItem>
|
||||
<EuiCard
|
||||
display="subdued"
|
||||
title={i18n.translate('xpack.enterpriseSearch.appSearch.documentCreation.buttons.api', {
|
||||
defaultMessage: 'Index from API',
|
||||
})}
|
||||
|
@ -96,6 +99,7 @@ export const DocumentCreationButtons: React.FC<Props> = ({ disabled = false }) =
|
|||
</EuiFlexItem>
|
||||
<EuiFlexItem>
|
||||
<EuiCardTo
|
||||
display="subdued"
|
||||
title={i18n.translate(
|
||||
'xpack.enterpriseSearch.appSearch.documentCreation.buttons.crawl',
|
||||
{ defaultMessage: 'Use the Crawler' }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue