Skip to content

Commit

Permalink
Convert EuiCards to non-shadowed defaults to avoid nested panel/shado…
Browse files Browse the repository at this point in the history
…ws (#102680) (#102784)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Constance <constancecchen@users.noreply.github.com>
  • Loading branch information
kibanamachine and Constance authored Jun 21, 2021
1 parent dc9b56f commit 7f83682
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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' }
Expand All @@ -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' }
Expand All @@ -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',
})}
Expand All @@ -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' }
Expand Down

0 comments on commit 7f83682

Please sign in to comment.