File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import React from 'react';
1212import { createUseStyles } from 'react-jss'
1313import ActionMenu , { ActionMenuProps } from '../ActionMenu/ActionMenu' ;
1414import ActionButton , { ActionButtonProps } from '../ActionButton/ActionButton' ;
15+ import clsx from 'clsx' ;
1516
1617export type PageHeadingLabelProps = Omit <
1718 LabelProps ,
@@ -43,6 +44,9 @@ export interface DetailsPageHeaderProps {
4344const useStyles = createUseStyles ( {
4445 detailsPageHeaderSplit : {
4546 alignItems : 'center' ,
47+ } ,
48+ detailsPageBreadcrumbs : {
49+ marginTop : 'var(--pf-t--global--spacer--md)'
4650 }
4751} ) ;
4852
@@ -56,7 +60,7 @@ const DetailsPageHeader: React.FunctionComponent<DetailsPageHeaderProps> = ({
5660 return (
5761 < >
5862 { breadcrumbs }
59- < Split hasGutter isWrappable className = { classes . detailsPageHeaderSplit } >
63+ < Split hasGutter isWrappable className = { clsx ( classes . detailsPageHeaderSplit , { [ classes . detailsPageBreadcrumbs ] : breadcrumbs } ) } >
6064 < SplitItem >
6165 < Split hasGutter isWrappable className = { `pf-v6-u-mb-sm ${ classes . detailsPageHeaderSplit } ` } >
6266 { /* Optional icon for details page heading (before title) */ }
You can’t perform that action at this time.
0 commit comments