Skip to content

Commit

Permalink
update to handle numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
kmcfaul committed May 23, 2024
1 parent 035d997 commit 121c62e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-core/src/components/Wizard/Wizard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export const Wizard = ({
<div
className={css(styles.wizard, className)}
style={{
...(height ? { [wizardHeightToken.name]: height } : {}),
...(height ? { [wizardHeightToken.name]: typeof height === 'number' ? `${height}px` : height } : {}),
...(width ? { width } : {})
}}
{...wrapperProps}
Expand Down

0 comments on commit 121c62e

Please sign in to comment.