Skip to content

Commit 2792698

Browse files
authored
fix: Fix for title size issue. (#351)
* fix: Fix for title size issue. fix: removed title. * fix: Updated button color
1 parent fa41d42 commit 2792698

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

packages/module/src/QuickStartPanelContent.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
flex-direction: column;
99
}
1010

11-
&__close-button button.pf-v6-c-button {
12-
--pf-v6-c-button--Color: var(--pf-t--global--text--color--inverse);
11+
span.pf-v6-c-button__icon {
12+
color: var(--pf-t--global--text--color--inverse);
1313
}
1414
}

packages/module/src/catalog/QuickStartTileHeader.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as React from 'react';
2-
import { Button, Flex, Title } from '@patternfly/react-core';
2+
import { Button, Flex } from '@patternfly/react-core';
33

44
interface QuickStartTileHeaderProps {
55
name: string;
@@ -13,11 +13,9 @@ const QuickStartTileHeader: React.FC<QuickStartTileHeaderProps> = ({
1313
onSelect,
1414
}) => (
1515
<Flex flexWrap={{ default: 'nowrap' }}>
16-
<Title headingLevel="h3" data-test="title" id={quickStartId}>
17-
<Button variant="link" isInline onClick={onSelect}>
18-
{name}
19-
</Button>
20-
</Title>
16+
<Button data-test="title" id={quickStartId} variant="link" isInline onClick={onSelect}>
17+
{name}
18+
</Button>
2119
</Flex>
2220
);
2321

0 commit comments

Comments
 (0)