Skip to content

Commit 4455f30

Browse files
authored
Merge pull request #349 from fhlavac/cheader
Fix content header margin and component
2 parents fea7c72 + b89b362 commit 4455f30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/module/src/ContentHeader/ContentHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export const ContentHeader: React.FunctionComponent<React.PropsWithChildren<Cont
103103
{subtitle}
104104
</Text>
105105
{linkProps && (
106-
<Button variant={ButtonVariant.link} ouiaId={`${ouiaId}-link-button`} isInline icon={linkProps.isExternal ? <ExternalLinkAltIcon /> : null} iconPosition="end" {...linkProps}>
106+
<Button variant={ButtonVariant.link} component="a" ouiaId={`${ouiaId}-link-button`} isInline icon={linkProps.isExternal ? <ExternalLinkAltIcon className='pf-v5-u-ml-sm' /> : null} iconPosition="end" {...linkProps}>
107107
{linkProps.label}
108108
</Button>
109109
)}

0 commit comments

Comments
 (0)