Skip to content

Commit

Permalink
fix: Fix for title size issue. (#351)
Browse files Browse the repository at this point in the history
* fix: Fix for title size issue.

fix: removed title.

* fix: Updated button color
  • Loading branch information
dlabaj authored Dec 4, 2024
1 parent fa41d42 commit 2792698
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/module/src/QuickStartPanelContent.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
flex-direction: column;
}

&__close-button button.pf-v6-c-button {
--pf-v6-c-button--Color: var(--pf-t--global--text--color--inverse);
span.pf-v6-c-button__icon {
color: var(--pf-t--global--text--color--inverse);
}
}
10 changes: 4 additions & 6 deletions packages/module/src/catalog/QuickStartTileHeader.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react';
import { Button, Flex, Title } from '@patternfly/react-core';
import { Button, Flex } from '@patternfly/react-core';

interface QuickStartTileHeaderProps {
name: string;
Expand All @@ -13,11 +13,9 @@ const QuickStartTileHeader: React.FC<QuickStartTileHeaderProps> = ({
onSelect,
}) => (
<Flex flexWrap={{ default: 'nowrap' }}>
<Title headingLevel="h3" data-test="title" id={quickStartId}>
<Button variant="link" isInline onClick={onSelect}>
{name}
</Button>
</Title>
<Button data-test="title" id={quickStartId} variant="link" isInline onClick={onSelect}>
{name}
</Button>
</Flex>
);

Expand Down

0 comments on commit 2792698

Please sign in to comment.