Skip to content

Commit 7bd0eec

Browse files
authored
Merge pull request patternfly#364 from logonoff/spacing
fix(QuickStartCatalogPage): remove extra spacing in title and hint
2 parents a6e056d + 9ae7f07 commit 7bd0eec

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

packages/module/src/QuickStartCatalogPage.tsx

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
import * as React from 'react';
22
import {
33
Button,
4+
Content,
45
Divider,
56
EmptyState,
67
EmptyStateActions,
78
EmptyStateBody,
89
EmptyStateFooter,
910
PageSection,
10-
Content,
11+
Title,
1112
} from '@patternfly/react-core';
1213
import SearchIcon from '@patternfly/react-icons/dist/js/icons/search-icon';
1314
import { EmptyBox, LoadingBox, clearFilterParams } from '@console/internal/components/utils';
@@ -165,12 +166,12 @@ export const QuickStartCatalogPage: React.FC<QuickStartCatalogPageProps> = ({
165166
{(showTitle || showFilter) && (
166167
<PageSection hasBodyWrapper={false}>
167168
{showTitle && (
168-
<>
169-
<Content component="h1" data-test="page-title">
169+
<Content isEditorial>
170+
<Title headingLevel="h1" data-test="page-title">
170171
{title || getResource('Quick Starts')}
171-
</Content>
172+
</Title>
172173
{hint && <div>{hint}</div>}
173-
</>
174+
</Content>
174175
)}
175176
{showTitle && <Divider component="div" />}
176177
{showFilter && (

0 commit comments

Comments
 (0)