From ccf3b4cb405f75a2425179f89857cb07e3d84440 Mon Sep 17 00:00:00 2001 From: Liat Berkovich Date: Sun, 29 Dec 2024 17:01:13 +0200 Subject: [PATCH 1/2] test3 --- apps/demo/src/components/ConfirmationModal.tsx | 1 + .../hooks/UseComputedHeightFromPageHeader.ts | 5 +++++ apps/demo/src/ocm/VMwareMigrationCard.tsx | 9 +++++++++ 3 files changed, 15 insertions(+) diff --git a/apps/demo/src/components/ConfirmationModal.tsx b/apps/demo/src/components/ConfirmationModal.tsx index 2f188ef..b85f56c 100644 --- a/apps/demo/src/components/ConfirmationModal.tsx +++ b/apps/demo/src/components/ConfirmationModal.tsx @@ -49,6 +49,7 @@ export const ConfirmationModal: React.FC< const dmy = ()=>{ alert('ffff'); } + const dd = return ( { + + + + + Start your migration journey to OpenShift Virtualization. We will create a migration assessment report and help you create a migration @@ -52,6 +57,10 @@ export const VMwareMigrationCard: React.FC = () => { + + + + From 8f96c99c90089f13f4e1bc1457b0633229b1419a Mon Sep 17 00:00:00 2001 From: liatb-rh Date: Sun, 29 Dec 2024 17:08:15 +0200 Subject: [PATCH 2/2] Update UseComputedHeightFromPageHeader.ts --- .../migration-wizard/hooks/UseComputedHeightFromPageHeader.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/demo/src/migration-wizard/hooks/UseComputedHeightFromPageHeader.ts b/apps/demo/src/migration-wizard/hooks/UseComputedHeightFromPageHeader.ts index 0de42df..3e89142 100644 --- a/apps/demo/src/migration-wizard/hooks/UseComputedHeightFromPageHeader.ts +++ b/apps/demo/src/migration-wizard/hooks/UseComputedHeightFromPageHeader.ts @@ -1,7 +1,7 @@ import { useState, useEffect } from "react"; import { useWindowSize } from "react-use"; -const DEFAULT_HEIGHT = 635; +let DEFAULT_HEIGHT = 635; function getMainPageSectionVerticalPadding(pageMainSection: Element): number { const { paddingTop, paddingBottom } = getComputedStyle(pageMainSection);