-
Notifications
You must be signed in to change notification settings - Fork 107
Open
Description
PageHeader component natively defines too big a gap between children PageHeaderTitle and description components,
which is 24px (1.5rem).
There is no easy way to change this from the outside.
// Using PageHeader without any Patternfly layouting components
<PageHeader>
<PageHeaderTitle
title={
<>
<span>{title}</span>
<OpenSourceBadge repositoriesURL='https://github.com/content-services/content-sources-frontend' />
</>
}
/>
// Native gap of 24px is applied, no way to change it
<Content component='p' ouiaId={ouiaId}>
{paragraph}
</Content>
</PageHeader>
This big a gap does not comply with the Patternfly standards,
which sets the gap between a title and description to be 8px,
see the example on:
https://www.patternfly.org/components/page/react-demos/sticky-section-group-alternate-syntax/
Please update this component so:
- it complies with Patternfly standard of 8px gap between a title and a description
- there is a prop that changes gap from the outside
@MariSvirik(UX)
Metadata
Metadata
Assignees
Labels
No labels