Skip to content

Commit 85a7c1b

Browse files
committed
Replaced hardcoded classes with style object
1 parent 1d13c2d commit 85a7c1b

File tree

1 file changed

+6
-1
lines changed
  • packages/react-core/src/components/Wizard

1 file changed

+6
-1
lines changed

packages/react-core/src/components/Wizard/Wizard.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,12 @@ export const Wizard = ({
187187
mainWrapperRef={wrapperRef}
188188
>
189189
<div
190-
className={css(styles.wizard, isPlain && 'pf-m-plain', isNoPlainOnGlass && 'pf-m-no-plain', className)}
190+
className={css(
191+
styles.wizard,
192+
isPlain && styles.modifiers.plain,
193+
isNoPlainOnGlass && styles.modifiers.noPlain,
194+
className
195+
)}
191196
style={{
192197
...(height ? { [wizardHeightToken.name]: typeof height === 'number' ? `${height}px` : height } : {}),
193198
...(width ? { width } : {})

0 commit comments

Comments
 (0)