[Search] Fix one instance of div nesting inside p warning (#191061)

## Summary

This fixes one error of a div being nested inside of a p, and fixes some
header order issues.
This commit is contained in:
Sander Philipse 2024-08-22 15:33:31 +02:00 committed by GitHub
parent cafe71a6dd
commit e932b932f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -46,6 +46,7 @@ export const IngestionCard: React.FC<IngestionCardProps> = ({
hasBorder
isDisabled={isDisabled}
textAlign="left"
titleElement="h3"
title={
<>
<EuiFlexGroup direction="row" alignItems="center">

View file

@ -62,11 +62,11 @@ export const ProductSelector: React.FC = () => {
<ApiKeyPanel />
<EuiSpacer size="xl" />
<EuiTitle>
<h4>
<h2>
{i18n.translate('xpack.enterpriseSearch.productSelector.overview.title', {
defaultMessage: 'Ingest your content',
})}
</h4>
</h2>
</EuiTitle>
<EuiSpacer size="l" />
<EuiText>