From 2671b8ba3a3e44d0b355afae1733f4cbcc598f16 Mon Sep 17 00:00:00 2001 From: Eric Winchell Date: Tue, 22 Oct 2024 15:00:08 -0400 Subject: [PATCH 1/2] Fix PageHeader component --- packages/components/src/PageHeader/PageHeaderTitle.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/components/src/PageHeader/PageHeaderTitle.tsx b/packages/components/src/PageHeader/PageHeaderTitle.tsx index cf1135c6c..8fe71636b 100644 --- a/packages/components/src/PageHeader/PageHeaderTitle.tsx +++ b/packages/components/src/PageHeader/PageHeaderTitle.tsx @@ -24,7 +24,7 @@ const PageHeaderTitle: React.FC = ({ className, title, act return ( - +
= ({ className, title, act > {title} - +
{actionsContent ? {actionsContent} : null}
); From d0b77c9c0c4d22a5575990bbc70371b7a85e296e Mon Sep 17 00:00:00 2001 From: Eric Winchell Date: Tue, 22 Oct 2024 15:20:40 -0400 Subject: [PATCH 2/2] update snapshot --- .../PageHeaderTitle.test.js.snap | 34 ++++++++----------- 1 file changed, 15 insertions(+), 19 deletions(-) diff --git a/packages/components/src/PageHeader/__snapshots__/PageHeaderTitle.test.js.snap b/packages/components/src/PageHeader/__snapshots__/PageHeaderTitle.test.js.snap index 4a989def9..349d85ad5 100644 --- a/packages/components/src/PageHeader/__snapshots__/PageHeaderTitle.test.js.snap +++ b/packages/components/src/PageHeader/__snapshots__/PageHeaderTitle.test.js.snap @@ -14,33 +14,29 @@ exports[`PageHeader component should render 1`] = `
- -
- - <h1 - className="pf-v5-c-title pf-m-2xl" - data-ouia-component-id="OUIA-Generated-RHI/Header-true-1" - data-ouia-component-type="RHI/Header" - data-ouia-safe={true} - widget-type="InsightsPageHeaderTitle" - > - Something - </h1> - -
-
+ Something + + +