Skip to content

Commit 34e892b

Browse files
rvsiaHyperkid123
authored andcommitted
Hack PF wizard to set max height
1 parent 607df76 commit 34e892b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

packages/pf4-component-mapper/src/files/wizard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const WizardInternal = ({
8383
return (
8484
<Modal inModal={inModal} container={state.container}>
8585
<div
86-
className={`pf-c-wizard ${inModal ? '' : 'no-shadow'}`}
86+
className={`pf-c-wizard ${inModal ? '' : 'no-shadow'} ddorg__pf4-component-mapper__wizard`}
8787
role="dialog"
8888
aria-modal={inModal ? 'true' : undefined}
8989
onKeyDown={onKeyDown}

packages/pf4-component-mapper/src/files/wizard/wizard-styles.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,8 @@
55
.pull-right {
66
justify-content: flex-end;
77
}
8+
9+
.ddorg__pf4-component-mapper__wizard {
10+
height: calc(100vh - 48px);
11+
max-height: 762px;
12+
}

0 commit comments

Comments
 (0)